Boost logo

Boost Users :

Subject: [Boost-users] [filesystem] boost::filesystem::path::append() with boost::filesystem::iterator
From: Sebastian Karlsson (sairony_at_[hidden])
Date: 2011-12-08 12:18:55


Unexpectedly this does not seem to work. Consider:

boost::filesystem::path a("foo/bar/"), b("root/test");
a.append( b.begin() + 1, boost::filesystem::const_iterator() ); \\ Expects
a == "foo/bar/test"

Am I missing something?

Kind regards,
Sebastian Karlsson



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