OMNI_DEFCONCAT
MACRO

OMNI_DEFCONCAT - Concatenate 2 #define values.

SYNOPSIS top

A helper macro that concatenates #defined macro values into a single string literal.

DESCRIPTION top

OMNI_DEFCONCAT concatinates 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;
// output will be 'helloworld' on the standard output (note no space)

CONSIDERATIONS top

No special considerations

PLATFORM SPECIFIC top

No platform specific notes.

NOTES top

None.