The prototype for an input stream is:
explicit basic_istream(
basic_streambuf *_Strbuf <>
);
That is, every stream must be bound to a streambuf when it is constructed. Same
goes for output streams.
otherthings such as ifstream, cin, etc. are derivations, specializations and/or
typedefs based
I am also interested in this. I like the idea of being able to compose
streambufs to combine facilities, possibly something like this:
template< typename CharT, class StreamBuf >
class streambuf_compose
{
};
Where it inherits from the parent streambuf. I have not though this idea
through complet
This a very ripe subject
My interest stems from my efforts regarding a serialization library. I have
had occasion to consider alternatives in this light. I have looked at
Jeffs compression streambuf. I think its interesting, useful and nicely done.
Given this, maybe you should set your sights