26 Aug
2002
26 Aug
'02
12:47 p.m.
On Sunday 25 August 2002 11:20 am, stupid_newcomer wrote:
// zero argument, OK for_each(v.begin(), v.end(), boost::mem_fn(&B::print0));
// one argument, OK for_each(v.begin(), v.end(), boost::bind(&B::print1, _1, 5));
// two argument, how to call B::print2 ?
for_each(v.begin(), v.end(), boost::bind(&B::print2, _1, 5, 6)); Doug