Boost logo

Boost Users :

From: Chris Goller (cgoller_at_[hidden])
Date: 2004-11-17 17:00:05


I'm just getting into boost and I really like it.

I would like to iterate over keys of a multimap.

so it would look like this:

std::multimap<type, type>::key_iterator i = map.beginkey(); i !=
map.endkey(); i++
at each i++ it would move to the next key.

-or-

for_each(map.beginkey(), map.endkey(), whatever);

Is this possible with the boost iterators?

Thanks,

Chris


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