Overview: What are Cpp2 and cppfront? How do I get and build cppfront?

“Cpp2” is Herb Sutter’s personal project aiming to simplify and make writing ordinary C++ functions and types safer without disrupting backward compatibility. It is not an alternate language but rather a new “skin” for C++, using existing modules and concepts seamlessly. The goal is to provide a simpler and safer way to write C++ code while maintaining the expressive power and control of the language. “Cppfront” is a compiler that translates Cpp2 syntax to traditional Cpp1 syntax. This allows for easy integration of Cpp2 into existing C++ projects. Full source code and build instructions for “cppfront” are available on the Cppfront GitHub repo.

https://hsutter.github.io/cppfront/

To top