|
Boost Users : |
Subject: Re: [Boost-users] filesystem and range::copy
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-06-04 14:06:01
AMDG
Olaf Peter wrote:
> does the boost filesystem support boost.range (or vice versa?) I've got
> a compile error by
>
> fs::ifstream in( ... );
> std::string storage;
> boost::copy( in, std::back_inserter( storage ) );
>
Use std::istreambuf_iterator.
In Christ,
Steven Watanabe
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