Support Class Library
A set of tools providing classes and utility
macros.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define realConst(type) const type const
4 #define stringLiteral const char*
5 #define assert_concept(cpt, str) static_assert(cpt, str)
6 #define static_require(cpt) assert_concept(cpt, "")
7 
8 #define META scl::tools::meta
9 #define asString scl::utils::toString
10 #define SCL_RETURNS(stmt) -> decltype(stmt){\
11  return stmt;\
12 }
13 
14 #ifdef SCL_CPP20
15  #define SCL_CPP17
16 #endif
17 
18 #ifdef SCL_CPP17
19  #define SCL_CPP14
20 #endif