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


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.



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at