
"Thorsten Ottosen" <nesotto@cs.auc.dk> writes:
"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message news:d8qf4a$ac7$1@sea.gmane.org... | "David Abrahams" <dave@boost-consulting.com> wrote in message
|| 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.
As for the map_iterator, then the interface has changed, so the adapters don't work. (the iterator supports .key() and * returns a reference to the value type, and not a pair)
Then just build your own using iterator_adaptor.
As for void_ptr_iterator, I guess it could be replaced with transform_iterator. I'm not sure if portability will suffer because of it, but I supsect it.
Why?
I used operator.hpp to begin with, but moved awau due to portability reasons (vc6 stuff, I think).
The two have little to do with one another. The iterators library is highly portable. -- Dave Abrahams Boost Consulting www.boost-consulting.com