tts v2.3.0
The Tiny Test System
 
Loading...
Searching...
No Matches
types.hpp File Reference

Macros

#define TTS_EXPECT_COMPILES(Symbols..., Expression, ...)
 Checks if an Expression based on a list of Symbols will compile properly in a SFINAE context.
 
#define TTS_EXPECT_NOT_COMPILES(Symbols..., Expression, ...)
 Checks if an Expression based on a list of Symbols will not compile properly in a SFINAE context.
 
#define TTS_EXPR_IS(EXPR, TYPE, ...)   TTS_EXPR_IS_ ## __VA_ARGS__ (EXPR, TYPE)
 Checks if an Expression evaluates to a value of a given Type.
 
#define TTS_TYPE_IS(TYPE, REF, ...)   TTS_TYPE_IS_ ## __VA_ARGS__ (TYPE, REF)
 Checks if two types satisfy std::is_same_v<Type,Target> == true.