|
Boost : |
From: Larry Evans (jcampbell3_at_[hidden])
Date: 2003-06-12 14:00:16
Larry Evans wrote:
[snip]
> Any comments? Maybe this method could be used
Yeah. What happens when ostream destructor is called.
Since this probably calls the streambuf destructor,
and if the streambuf is actually a fwd_streambuf,
and the ~fwd_streambuf resets the ostream.rdbuf,
this just may be a problem :(.
IOW, OOPS.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk