|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-07-22 12:36:01
"DY, JERRY U \(SBCSI\)" <jd2419_at_[hidden]> writes:
> The problem is that since my_int2 is not a random access iterator, class
> iterator_adaptor's member function "advance" would not compile because
> of the static assertion below trying to convert
> random_access_traversal_tag to bidirectional_traversal_tag
> (my_traversal).
It should never be instantiated, because it should never be called.
This is a compiler bug.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk