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

Class template c_ascii_pattern_replacer

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 c_ascii_pattern_replacer

boost::log::expressions::c_ascii_pattern_replacer

Synopsis

// In header: <boost/log/expressions/formatters/c_decorator.hpp>
template<typename CharT> 
class c_ascii_pattern_replacer :
  public boost::log::expressions::pattern_replacer< CharT >
{
public:
  // types
  typedef base_type::result_type result_type;  // Result type. 
  typedef base_type::char_type   char_type;    // Character type. 
  typedef base_type::string_type string_type;  // String type. 
  // construct/copy/destruct
  c_ascii_pattern_replacer();
  // public member functions
  result_type operator()(string_type &, typename string_type::size_type = 0) const;
};

Description

Реализация декоратора персонажей, которая избегает всех непрогнозируемых и не-ASCII символов на выходе с последовательностями побега в стиле C.

c_ascii_pattern_replacer public construct/copy/destruct

  1. <
    c_ascii_pattern_replacer();
    >По умолчанию конструктор.

c_ascii_pattern_replacer public member functions

  1. <
    result_typeoperator()(string_type&str,
                          typenamestring_type::size_typestart_pos=0)const;
    >Применяет струнные замены, начиная с указанного положения.

PrevUpHomeNext

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




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



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


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 19:55:16/0.0061678886413574/0