
22 Aug
2004
22 Aug
'04
9:17 p.m.
Beman Dawes <bdawes@acm.org> writes:
What is weird is that even though the single_pass_traversal_tag is given, the path_test.cpp regression test uses operator-- in tests, and they compile fine.
So it looks like there is also a bug in iterator adaptors too, since I would think that the use of operator-- on a single pass iterator should fail.
It's not a bug to provide more functionality than the category allows. If you supply a decrement() operation, operator-- will call it. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com