Re: [Boost-users] istream U istream_iterator -> traverser

Further thought: has anyone ever written (made available) something like <vstream> for streaming into and out of vectors (similar to <sstream>). Or perhaps <cstream> - generic container streaming in/out, with specializations for vector, etc. - or has such a thing just never been needed by anybody before? tia zen

Here is my first take on a basic_istringtraverser type, combining both a string stream and a forward iterator over that stream, which I am going to use to simplify my part- binary/ part-ascii file processing program. I am lost as to what I could do to make the multiple-inheritance version work, and this seems to work. Does this make sense to do, or am I simply missing something? This is my first template class. Any comments appreciated. Thanks Zen
participants (1)
-
Zenaan Harkness