my code requirement is that a string between two macros is to be displayed at the console. Like this:
Question is: how should the two MACROS be defined.Code:TRACE << "hello world" << ENDTRACE;
I am thinking of TRACE expanding to a static ostream object whose inserter can be overloaded to display the string at the console. What do you think?
Any ideas would be helpful.
TIA