Boost logo

Boost :

From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-06-10 15:42:20


On Tue, Jun 10, 2008 at 09:46, Hansi <hansipet_at_[hidden]> wrote:
> When should be used boost/lamda/bind.hpp? Is there somewhere a documentation
> which compares the 2 implementations?
>

AFAIK, the only reason to use Boost.Bind instead of Boost.Lambda is
that it supports more platforms.

But once you've picked one, you need to remember to use it
consistently in an expression. Bind's _1 won't work with Lambda's
bind, and vice versa, as was mentioned.

Of course, nothing prevents you from using both if they're in
different parts. (Though you might pay a bit in executable size,
relative to using just Lambda consistently.)

HTH,
~ Scott


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk