Macros for error-checking and program termination. More...
Go to the source code of this file.
Defines | |
#define | DO_JOIN(X, Y) DO_JOIN2(X,Y) |
#define | DO_JOIN2(X, Y) X##Y |
#define | JOIN(X, Y) DO_JOIN( X, Y ) |
#define | LOC __FILE__ ":" TOSTRING(__LINE__) " " |
Stringify the line of code you are at. | |
#define | STRINGIFY(x) #x |
#define | TOSTRING(x) STRINGIFY(x) |
Macros for error-checking and program termination.
Macros for error-checking and program termination.
Definition in file macros.hpp.
Definition at line 35 of file macros.hpp.
#define DO_JOIN2 | ( | X, | |
Y | |||
) | X##Y |
Definition at line 36 of file macros.hpp.
Definition at line 34 of file macros.hpp.
#define STRINGIFY | ( | x | ) | #x |
Definition at line 23 of file macros.hpp.
Definition at line 24 of file macros.hpp.