
"David Abrahams" <dave@boost-consulting.com> wrote in message news:u1x73meya.fsf@boost-consulting.com... | "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. it does! I used the operators helper classes, but moved away from them due to portability reasons. Anyway, I will look into this in the future. -Thorsten