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? 回答1: 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. 来源: https://stackoverflow.com/questions/5202974/what-is-the