|
Boost Users : |
From: Ricardo Mayerhofer (maillistricardo_at_[hidden])
Date: 2007-10-24 19:21:47
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 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