Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Struct template as_action_adapter

Boost , Chapter 1. Boost.Log v2 , Utilities

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

PrevUpHomeNext

Struct template as_action_adapter

boost::log::as_action_adapter — Function object adapter for Boost.Spirit actions.

Synopsis

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

Description

as_action_adapter public construct/copy/destruct

  1. <
    as_action_adapter()=default;
    >
  2. <
    explicitas_action_adapter(FunTconst&fun);
    >

as_action_adapter public member functions

  1. <
    template<typenameAttributeT,typenameContextT>
     result_typeoperator()(AttributeTconst&attr,ContextTconst&ctx,
                            bool&pass)const;
    >

PrevUpHomeNext

Статья Struct template as_action_adapter раздела Chapter 1. Boost.Log v2 Utilities может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Utilities ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-20 00:21:51/0.0049450397491455/1