...
Behavior of std::bind and std::function
Let's take a step deeper into the workings of std::bind and std::function.
Because of std::bind, you can create function objects in a variety of ways:
std::bind