Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-08-30 11:23:41


"Jonathan Turkanis" <technews_at_[hidden]> wrote:

> template<typename Ch>
> struct null_buf {

should be null_sink ^^^^

> typedef Ch char_type;
> typedef sink_tag category;
> void write(const Ch*, std::streamsize) { }
> };
>
> than to write your null_buf, which is 79 lines long.

Jonathan


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