Boost logo

Boost Users :

Subject: [Boost-users] for_each on boost::ptr_map
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-09-15 16:20:01


Hi,

Is there a way I can use std::for_each() on a boost::ptr_map and have the
functor object be given the *value* of each item iterated instead of a
key/value pair like it does with std::map? Help is appreciated, thank you.



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