Re: [Boost-users] [iostreams]Can I write data directly to the device of a stream?

21 May
2010
21 May
'10
3:31 a.m.
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...

21 May
21 May
3:50 a.m.
New subject: [iostreams]Can I write data directly to the device of a stream?
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
5392
Age (days ago)
5392
Last active (days ago)
1 comments
2 participants
participants (2)
-
Steven Watanabe
-
鑫炜廖