17 Jul
2009
17 Jul
'09
1:17 p.m.
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));
Thanks Roman - I've missed a trick there! Is that also equivalent to for_each( v.begin(), v.end(), boost::bind(&A::a, _1)); ? Thanks. -- ACCU - Professionalism in programming - http://www.accu.org