Bind Vs Lambda?
C++0x lambdas are monomorphic, while bind can be polymorphic. You cannot have something like auto f = [](auto a, auto b) { cout << a << ‘ ‘ << b; } f(“test”, 1.2f); a and b must have known types. On the other hand, tr1/boost/phoenix/lambda bind allows you to do this: struct foo { typedef … Read more