This recipe and the next one are devoted to a very interesting library, whose functionality at first glance looks like some kind of magic. This library is called
Boost.Bind and it allows you to easily create new functional objects from functions, member functions, and functional objects, also allowing the reordering of the initial function's input parameters and binding some values or references as function parameters.
Knowledge of C++, STL algorithms, and functional objects is required for this recipe.
+, but your task is to multiply ...