That copy writes from a Source to a Sink. Do you need a vector of Strings? Why not a StringStream. You might be able to use your copy on a FileSource and copy to a StringStream. Also your istream_iterator types look inconsistent. mike On Thu, 2007-10-25 at 09:11 -0700, Ricardo Mayerhofer wrote:
I mean copy of boost iostream: http://www.boost.org/libs/iostreams/doc/index.html
Ricardo
If so, how do I?
eg. with std copy: copy( istream_iterator<string>(FileSource), istream_iterator<FileSource> (), back_inserter( m_StringVector ) )
Ricardo
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
____________________________________________________________________
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users