...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::as_action_adapter — Function object adapter for Boost.Spirit actions.
// In header: <boost/log/utility/functional/as_action.hpp> template<typename FunT> struct as_action_adapter { // types typedef FunT::result_type result_type; // construct/copy/destruct explicit as_action_adapter(FunT const &); // public member functions template<typename AttributeT, typename ContextT> result_type operator()(AttributeT const &, ContextT const &, bool &) const; };