$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [lambda]How can I call function of objects instd::list while using std::for_each?
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-03-23 08:15:07
Ç®ÏþÃ÷:
> However, if some one know how to do this using Lambda or Bind, please tell
> me. I want to know it. thanks!
You can use one of
(_1->*&DiscardableItem::Discard)()
bind(&DiscardableItem::Discard, _1)