|
Boost Users : |
From: John Kiopela (john.kiopela_at_[hidden])
Date: 2007-11-29 05:10:40
Hi all,
I have been browsing through the docs, but I couldn't find anything useful.
Does Boost have a std::map<K, V>::iterator adaptor which iterates over the
values of the map only. That is, I would like to have an iterator of which
operator*() function returns V, instead of std::pair<K, V>. My data is
stored in a std::map<K, V> and I would to allow my users to iterate over the
values.
If it's not here, I'll make one myself. It shouldn't be that hard.
Thanks in advance. Kind regards,
John
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net