...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards
...one of the most highly regarded and expertly designed C++ library projects in the world.
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 as_action_adapter() = default; explicit as_action_adapter(FunT const &); // public member functions template<typename AttributeT, typename ContextT> result_type operator()(AttributeT const &, ContextT const &, bool &) const; };
as_action_adapter
as_action_adapter()=default;
explicitas_action_adapter(FunTconst&fun);
template<typenameAttributeT,typenameContextT> result_typeoperator()(AttributeTconst&attr,ContextTconst&ctx, bool&pass)const;
Статья Struct template as_action_adapter раздела Chapter 1. Boost.Log v2 Utilities может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Utilities ::
реклама