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

Macros

#define TTS_CONSTEXPR_EQUAL(LHS, RHS, ...)   TTS_CEXPR_RELATION(LHS,RHS, eq , "==" , "!=", __VA_ARGS__)
 Performs equality comparison between two expressions at compile-time.
 
#define TTS_CONSTEXPR_GREATER(LHS, RHS, ...)   TTS_CEXPR_RELATION(LHS,RHS, gt , ">" , "<=", __VA_ARGS__)
 Performs greater-than comparison between two expressions at compile-time.
 
#define TTS_CONSTEXPR_GREATER_EQUAL(LHS, RHS, ...)   TTS_CEXPR_RELATION(LHS,RHS, ge , ">=" , "<=", __VA_ARGS__)
 Performs greater-or-equal-than comparison between two expressions at compile-time.
 
#define TTS_CONSTEXPR_LESS(LHS, RHS, ...)   TTS_CEXPR_RELATION(LHS,RHS, lt , "<" , ">=", __VA_ARGS__)
 Performs less-than comparison between two expressions at compile-time.
 
#define TTS_CONSTEXPR_LESS_EQUAL(LHS, RHS, ...)   TTS_CEXPR_RELATION(LHS,RHS, le , "<=" , ">" , __VA_ARGS__)
 Performs less-or-equal-than comparison between two expressions at compile-time.
 
#define TTS_CONSTEXPR_NOT_EQUAL(LHS, RHS, ...)   TTS_CEXPR_RELATION(LHS,RHS, neq, "!=" , "==", __VA_ARGS__)
 Performs inequality comparison between two expressions at compile-time.
 
#define TTS_EQUAL(LHS, RHS, ...)   TTS_RELATION(LHS,RHS, eq , "==" , "!=" , __VA_ARGS__)
 Performs equality comparison between two expressions.
 
#define TTS_GREATER(LHS, RHS, ...)   TTS_RELATION(LHS,RHS, gt , ">" , "<=" , __VA_ARGS__)
 Performs greater-than comparison between two expressions.
 
#define TTS_GREATER_EQUAL(LHS, RHS, ...)   TTS_RELATION(LHS,RHS, ge , ">=" , "<=" , __VA_ARGS__)
 Performs greater-or-equal-than comparison between two expressions.
 
#define TTS_LESS(LHS, RHS, ...)   TTS_RELATION(LHS,RHS, lt , "<" , ">=" , __VA_ARGS__)
 Performs less-than comparison between two expressions.
 
#define TTS_LESS_EQUAL(LHS, RHS, ...)   TTS_RELATION(LHS,RHS, le , "<=" , ">" , __VA_ARGS__)
 Performs less-or-equal-than comparison between two expressions.
 
#define TTS_NOT_EQUAL(LHS, RHS, ...)   TTS_RELATION(LHS,RHS, neq, "!=" , "==" , __VA_ARGS__)
 Performs inequality comparison between two expressions.
 
#define TTS_RELATION_BASE(A, B, OP, T, F, FAILURE)