$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Roman Perepelitsa (romka_at_[hidden])
Date: 2006-08-10 06:51:52
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