
11 Aug
2004
11 Aug
'04
8:32 p.m.
David Abrahams wrote:
Martin Wille writes: ...
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 that the concepts don't require
X a = b++;
to compile.
Line 95 of path.hpp declares void decrement(), lines 669-679 in path_posix_windows implement it. Note, this is not the directory iterator. Regards, m