11 Jan
2002
11 Jan
'02
7:53 a.m.
I have now built a couple of iterators using boost::iterator_adaptor. These are not adapted iterators but rather iterators developed to iterate over interfaces that have not iterators. I havent found a good example of how to declare the equivalent of a const_iterator like in vector. What would the declartion look like? If the definition of an iterator is: typedef boost::iterator_adaptor< Base, Policy > iterator; What would the declartion for a const_iterator look like? Thanks for the help. ..Duane