boost::filesystem::path construct from iterator

5 Jan
2012
5 Jan
'12
1:29 p.m.
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
4798
Age (days ago)
4798
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Kingswood