O'Reilly logo
  • Tzuhao Kuo thinks this is interesting:

Like lambda expressions, std::bind produces function objects. I call function objects returned by std::bind bind objects. The first argument to std::bind is a callable object. Subsequent arguments represent values to be passed to that object.

A bind object contains copies of all the arguments passed to std::bind. For each lvalue argument, the corresponding object in the bind object is copy constructed. For each rvalue, it’s move constructed.

From

Cover of Effective Modern C++

Note

the std::bind().