30 Dec
2004
30 Dec
'04
5:12 p.m.
Hi, I have a class derived from boost::io::sink that I use as follows: boost::io::stream_facade<printsink> os; os << "foo" << std::flush; os->set_colour(255, 255, 0); os << "bar"; How can I flush the buffer in set_colour() method instead of requiring the user to do it? TIA, -- Daniel Schlyder http://bitblaze.com/