Support Class Library
A set of tools providing classes and utility
Macros
macros.h File Reference

Go to the source code of this file.

Macros

#define realConst(type)   const type const
 
#define stringLiteral   const char*
 
#define assert_concept(cpt, str)   static_assert(cpt, str)
 
#define static_require(cpt)   assert_concept(cpt, "")
 
#define META   scl::tools::meta
 
#define asString   scl::utils::toString
 
#define SCL_RETURNS(stmt)
 

Macro Definition Documentation

◆ assert_concept

#define assert_concept (   cpt,
  str 
)    static_assert(cpt, str)

Definition at line 5 of file macros.h.

◆ asString

#define asString   scl::utils::toString

Definition at line 9 of file macros.h.

◆ META

#define META   scl::tools::meta

Definition at line 8 of file macros.h.

◆ realConst

#define realConst (   type)    const type const

Definition at line 3 of file macros.h.

◆ SCL_RETURNS

#define SCL_RETURNS (   stmt)
Value:
-> decltype(stmt){\
return stmt;\
}

Definition at line 10 of file macros.h.

◆ static_require

#define static_require (   cpt)    assert_concept(cpt, "")

Definition at line 6 of file macros.h.

◆ stringLiteral

#define stringLiteral   const char*

Definition at line 4 of file macros.h.