
22 Jul
2004
22 Jul
'04
5:36 p.m.
"DY, JERRY U \(SBCSI\)" <jd2419@sbc.com> 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