Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between boost::bind and boost::lambda::bind?

I can see that there are two different bind libraries for Boost, one "standalone", that can be used by including boost/bind.hpp, and another by including boost/lambda/bind.hpp. What's the difference between these two?

like image 999
petersohn Avatar asked Mar 05 '11 09:03

petersohn


1 Answers

Have a look at the explanation here: http://boost.org/doc/libs/1_46_0/doc/html/lambda/s08.html#id2143701

They have overlapping functionality but with semantic differences, they can't be used interleaved.

like image 186
Morten Kristensen Avatar answered Oct 03 '22 03:10

Morten Kristensen