$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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