Boost logo

Boost Users :

From: Michael Linck (mgl_at_[hidden])
Date: 2007-10-25 15:24:47


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_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
> >
> >
> > ____________________________________________________________________
> >
> > _______________________________________________
> > Boost-users mailing list
> > Boost-users_at_[hidden]
> > http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> 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