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

Class template wrapped_formatter_terminal

Boost , Chapter 1. Boost.Log v2 , Expressions

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

Class template wrapped_formatter_terminal

boost::log::expressions::wrapped_formatter_terminal

Synopsis

// In header: <boost/log/expressions/formatters/wrap_formatter.hpp>
template<typename FunT, typename CharT> 
class wrapped_formatter_terminal {
public:
  // types
  typedef CharT                                 char_type;      // Character type. 
  typedef std::basic_string< char_type >        string_type;    // String type. 
  typedef basic_formatting_ostream< char_type > stream_type;    // Formatting stream type. 
  typedef FunT                                  function_type;  // Wrapped function type. 
  typedef string_type                           result_type;    // Formatter result type. 
  // construct/copy/destruct
  explicit wrapped_formatter_terminal(function_type const &);
  wrapped_formatter_terminal(wrapped_formatter_terminal const &);
  // public member functions
  function_type const & get_function() const;
  template<typename ContextT> result_type operator()(ContextT const &);
  template<typename ContextT> result_type operator()(ContextT const &) const;
};

Description

Терминал оберточной функции.

wrapped_formatter_terminal public construct/copy/destruct

  1. <
    explicitwrapped_formatter_terminal(function_typeconst&fun);
    >Инициирование строительства.
  2. <
    wrapped_formatter_terminal(wrapped_formatter_terminalconst&that);
    >Копировать конструктор.

wrapped_formatter_terminal public member functions

  1. <
    function_typeconst&get_function()const;
    >Возвращает завернутую функцию.
  2. <
    template<typenameContextT>result_typeoperator()(ContextTconst&ctx);
    >Оператор инвокации.
  3. <
    template<typenameContextT>result_typeoperator()(ContextTconst&ctx)const;
    >Оператор связи.

PrevUpHomeNext

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




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



:: Главная :: Expressions ::


реклама


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

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