
10 Aug
2006
10 Aug
'06
10:51 a.m.
Manfred Doudar <manfred.doudar <at> rsise.anu.edu.au> writes:
template <typename Predicate> class Excise { public:
void operator()(std::list<Xtype>& li) const { li.remove_if(boost::bind(Predicate(), ::_1, 10)); } };
Hello. Try this: bind(Predicate(), bind(&Xtype::the_value, _1), 10) HTH, Roman Perepelitsa