
15 Jun
2005
15 Jun
'05
10:29 p.m.
"Thorsten Ottosen" <nesotto@cs.auc.dk> writes:
"David Abrahams" <dave@boost-consulting.com> wrote in message news:uhdfzphdr.fsf@boost-consulting.com... | "Thorsten Ottosen" <nesotto@cs.auc.dk> writes:
| > would it be correct to implement the binary operators in my "wrapping" | > iterators | > as function templates. | | It would be correct to use iterator_adaptor. Why aren't you doing | that?
because I need to apply a cast form void* to T* in operator*() and operator->().
Seems like a perfect job for transform_iterator to me. -- Dave Abrahams Boost Consulting www.boost-consulting.com