yoonghm wrote:
> I have a large piece of C++ source code that make use of cout
> function to perform run-time trace. Due to performance issues, I would
> like to turn off the it from the compilation. However, I do not want to
> change each of the source code but only the trace functions. For
> example,
> TRACE::Show(xxxx)
/The C++ Programming Language, 3rd Edition/, by Bjarne Stroustrup, has a
perfect example of this, with a template. Could someone whip it out, please?
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!