RE: [boost]Interest in library generating streambufs from objects

2003-06-09 Thread Robert Ramey
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

RE: [boost]Interest in library generating streambufs from objects

2003-06-09 Thread Reece Dunn
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

RE: [boost]Interest in library generating streambufs from objects

2003-06-08 Thread Robert Ramey
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