$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [iostreams]Can I write data directly to the device of a stream?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-20 23:50:32
AMDG
é«çå» wrote:
> BTW, what's the differences between stream and stream_buffer,
> filtering_stream and filtering_streambuf besides different base classes they
> derived from ? Their members look all the same...
>
stream and filtering_stream inherit from std::[i|o]stream, so you can use
the usual operator<<. stream_buffer and filtering_streambuf inherit
from std::streambuf. The filtering_[stream|streambuf] variants can
take a sequence of filters terminating in a device.
In Christ,
Steven Watanabe