From: David Abrahams (dave_at_[hidden])
Date: 2004-08-22 16:17:28
Beman Dawes <bdawes_at_[hidden]> 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
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com