...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::binder2nd — Second argument binder.
// In header: <boost/log/utility/functional/bind.hpp> template<typename FunT, typename SecondArgT> struct binder2nd : private FunT { // types typedef FunT::result_type result_type; // construct/copy/destruct binder2nd(FunT const &, unspecified); // public member functions template<typename T> result_type operator()(T const &) const; template<typename T0, typename T1> result_type operator()(T0 const &, T1 const &) const; };