MACRO
OMNI_DEFCONCAT - Concatenate 2 #define values.
DESCRIPTION top
Example:
The output will be
OMNI_DEFCONCAT concatenates the values passed to the macro into a single string value.Example:
#define MY_DEF(val1, val2) std::string(OMNI_DEF2STR(OMNI_DEFCONCAT(val1, val2))) std::string h = MY_DEF(hello, world); std::cout << h << std::endl;
'helloworld' on the standard output (note no space).