On Monday, July 30, 2007 at 11:40:07 (+0000) gast128 writes:
... I wrote some while ago a wrapper which writes to a static buffer and flushes then to the debugger output window. One can easily write things like:
dbg_cout << 2 << "Hello" << std::endl
It originates from the book 'Standard C++ IOStreams and Locales' 3.4.1.1.2 and is basically an adapter of a 'basic_streambuf'. The iostream library is not easy to plug in, and I think that Boost Iostreams helps in this area. Unfortunately I haven't worked with it yet.
If you are interested I can mail you the code, but since it is not a Boost topic I better not show it here...
Well, I'd be grateful if you sent it to me. If it's good enough, perhaps one day it could be accepted into boost ... who knows? Bill