Boost logo

Boost Users :

Subject: [Boost-users] boost::filesystem::path construct from iterator
From: Frank Kingswood (frank_at_[hidden])
Date: 2012-01-05 08:29:20


Hi

I am getting surprising build errors when attempting to create a path from
iterators. For example:

     boost::filesystem::path path("a/b/c");
     boost::filesystem::path tail(path.begin(),path.end());

fails to build on the tail constructor.
The actual error is about three screenfuls so I will omit this here for now.

My intention is to do something a bit more interesting, e.g. path.begin()+1
to skip the leading path component.

Thanks,

Frank


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