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; };