OMNI_DEF2STR
MACRO

OMNI_DEF2STR - String-izes the value passed in

SYNOPSIS top

A helper macro that turns a #defined macro value into a string literal.

DESCRIPTION top

OMNI_DEF2STR expands the value passed into a string value.

Example:
#define MY_DEF(val) std::string(OMNI_DEF2STR(val))

std::string h = MY_DEF(hello world);
std::cout << h << std::endl;
// output will be 'hello world' on the standard output

CONSIDERATIONS top

No special considerations.

PLATFORM SPECIFIC top

No platform specific notes.

NOTES top

None.