Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2004-08-11 15:32:27


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk