Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.90.0.
#include <boost/phoenix/bind/bind_function_object.hpp>
Binding function objects serves two purposes: * Partial function application * Quick adaption of already existing function objects
In order to deduce the return type of the function object, it has to implement the Boost.Result Of protocol. If the bound function object is polymorphic, the resulting binding object is polymorphic.