
10 Jun
2008
10 Jun
'08
7:42 p.m.
On Tue, Jun 10, 2008 at 09:46, Hansi <hansipet@web.de> 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