GuillaumeDua / CppShelf

Collection of powerfuls - C++ Single-Header Libraries Files
https://guillaumedua.github.io/CppShelf/
MIT License
9 stars 1 forks source link

[portability] preprocessor fwd, version, etc. #188

Open GuillaumeDua opened 8 months ago

GuillaumeDua commented 8 months ago
#if not defined(__cplusplus)
 #error "[csl] ill-formed C++ version: __cplusplus is not defined"
#endif

#define csl_cpp11 201103L
#define csl_cpp14 201402L
#define csl_cpp17 201703L
#define csl_cpp20 202002L
#define csl_cpp23 202302L