Cpp23-examples
Cpp23-examples copied to clipboard
Example C++23 and C++20 syntax and tests of compilers and CMake
C++23 and C++20 Examples
Examples of using CMake with C++23 and C++20 standard syntax, for testing of compilers and build systems.
Related projects:
C++20 modules
C++20 modules require recent C++ compilers such as:
- Visual Studio ≥ 16.8
- GCC or Clang (need added options at this time)
CMake ≥ 3.26 is strongly recommended for support of C++20 modules.
A fully working ball pit simulation shows more advanced use of C++20 modules.