/Cpp23-examples

Example C++23 and C++20 syntax and tests of compilers and CMake

Primary LanguageC++MIT LicenseMIT

C++23 and C++20 Examples

ci

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.

References