Thanks Roman - I've missed a trick there!On Fri, Jul 17, 2009 at 1:47 PM, Roman Perepelitsa <roman.perepelitsa@gmail.com> wrote:
std::for_each(v.begin(), v.end(), boost::mem_fn(&A::a));
Is that also equivalent to
for_each( v.begin(), v.end(), boost::bind(&A::a, _1));