Boost logo

Boost Users :

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


bind(&DiscardableItem::Discard, _1)

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at