Boost logo

Boost Users :

Subject: Re: [Boost-users] [Filesystem] Reverse traversal of boost::filesystem::path::const_iterator?
From: Joshua Boyce (raptorfactor_at_[hidden])
Date: 2012-11-01 11:55:24


On Thu, Nov 1, 2012 at 4:07 AM, Nat Linden <nat_at_[hidden]> wrote:

> Am I correct? Given the way some containers implement end(), I always
> feel nervous about decrementing end(). I'm happy to see that
> Boost.Filesystem's own tests guarantee that usage; but is there
> anything in the documentation that would have assured me of that?
>
>
http://www.boost.org/doc/libs/1_49_0/libs/filesystem/v3/doc/reference.html#path-iterators

"A path::iterator is a constant iterator satisfying all the requirements of
a bidirectional iterator (C++ Std, 24.1.4 Bidirectional iterators
[lib.bidirectional.iterators])."



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