## 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

A character decorator implementation that escapes all non-prontable and non-ASCII characters in the output with C-style escape sequences.

### `c_ascii_pattern_replacer` public construct/copy/destruct

1.     c_ascii_pattern_replacer();

   Default constructor.

### `c_ascii_pattern_replacer` public member functions

1.     result_type operator()(string_type & str,
                              typename string_type::size_type start_pos = 0) const;

   Applies string replacements starting from the specified position.