Boost logo

Boost Users :

From: Ricardo Mayerhofer (maillistricardo_at_[hidden])
Date: 2007-10-25 12:11:54


I mean copy of boost iostream: http://www.boost.org/libs/iostreams/doc/index.html

Ricardo

Ovanes Markarian escreveu:
Which boost copy do you mean? In which particular library is it?

With Kind Regards,
Ovanes

On 10/25/07, Ricardo Mayerhofer < maillistricardo@gmail.com> wrote:
Hi all,
    I've started to use boost 1 month ago and I'm findind it very
helpful indeed. Congratulations for the good job.

    I have one question, is it possible to use boost to copy from a
stream to a container? If so, how do I?

    eg. with std copy:
    copy( istream_iterator<string>(FileSource),
istream_iterator<FileSource> (), back_inserter( m_StringVector ) )

    I wonder if boost copy would make it simpler, but I was not able to
use it. It pops up a static assertion failure :(

    Any help? Thanks.

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 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