
Martin Wille <mw8329@yahoo.com.au> writes:
David Abrahams wrote:
Investigation of the problem revealed that the documenation for path::iterator says it is a bidirectional iterator while the implementation uses single_pass_traversal_tag. This looks wrong to me. The documentation must be wrong, because the implementation never included a decrement implementation. It might be possible to make the user's code compile for this case, but I'm not sure we would be doing him/her a service, considering
Martin Wille writes: ... that the concepts don't require X a = b++; to compile.
Line 95 of path.hpp declares void decrement(),
Sorry, I was looking at operations.hpp. This is a different iterator?
lines 669-679 in path_posix_windows implement it.
Note, this is not the directory iterator.
OK, I agree with your analysis -- the traversal category appears to be wrong. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com