|
Boost Users : |
From: Ricardo Mayerhofer (maillistricardo_at_[hidden])
Date: 2007-10-26 11:55:02
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 RicardoIf 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_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net