Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-28 23:49:59


Jonathan Turkanis wrote:

> The only way to merge the line-conversion with the debug_out_sink
> using existing library components (rather than by hand) is to use the
> detail class chain, like so:

Sorry I have to correct myself again: it's not true that the only way is to use
detail::chain; one could use filtering_stream or filtering_streambuf, which are
wrappers for chain. However, these classes are a little more heavyweight than
necessary for this purpose.

Jonathan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk