|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-06-17 05:59:11
"Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
news:d8qf4a$ac7$1_at_sea.gmane.org...
| "David Abrahams" <dave_at_[hidden]> 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)
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. I
used operator.hpp
to begin with, but moved awau due to portability reasons (vc6 stuff, I think).
--Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk