Go to the source code of this file.
Defines | |
| #define | SMTG_CAT_PRIVATE_DONT_USE(a, b) a ## b |
| #define | SMTG_MAKE_STRING_PRIVATE_DONT_USE(x) # x |
| #define | SMTG_CAT(a, b) SMTG_CAT_PRIVATE_DONT_USE(a,b) |
| #define | SMTG_MAKE_STRING(x) SMTG_MAKE_STRING_PRIVATE_DONT_USE(x) |
| #define SMTG_CAT | ( | a, | |||
| b | ) | SMTG_CAT_PRIVATE_DONT_USE(a,b) |
Concatenation of macroexpanded tokens.
#undef x #define y 16 SMTG_XCAT(x,y) // ==> 'x16' (not 'xy' !)
Definition at line 46 of file macrotools.h.
| #define SMTG_CAT_PRIVATE_DONT_USE | ( | a, | |||
| b | ) | a ## b |
Private, don't use use SMTG_CAT instead.
Definition at line 30 of file macrotools.h.
| #define SMTG_MAKE_STRING | ( | x | ) | SMTG_MAKE_STRING_PRIVATE_DONT_USE(x) |
Convert tokens to strings.
#define y This is a test SMTG_MAKE_STRING(y) // ==> "This is a test" (not "y" !)
Definition at line 56 of file macrotools.h.
| #define SMTG_MAKE_STRING_PRIVATE_DONT_USE | ( | x | ) | # x |
Private, don't use use SMTG_MAKE_STRING instead.
Definition at line 34 of file macrotools.h.