A character decorator implementation that escapes all non-prontable and non-ASCII characters in the output with C-style escape sequences. More...
#include <c_decorator.hpp>
Public Types | |
typedef base_type::result_type | result_type |
Result type. More... | |
typedef base_type::char_type | char_type |
Character type. More... | |
typedef base_type::string_type | string_type |
String type. More... | |
Public Member Functions | |
c_ascii_pattern_replacer () | |
Default constructor. More... | |
result_type | operator() (string_type &str, typename string_type::size_type start_pos=0) const |
Applies string replacements starting from the specified position. More... | |
A character decorator implementation that escapes all non-prontable and non-ASCII characters in the output with C-style escape sequences.
typedef base_type::char_type boost::expressions::c_ascii_pattern_replacer< CharT >::char_type |
Character type.
typedef base_type::result_type boost::expressions::c_ascii_pattern_replacer< CharT >::result_type |
Result type.
typedef base_type::string_type boost::expressions::c_ascii_pattern_replacer< CharT >::string_type |
String type.
|
inline |
Default constructor.
|
inline |
Applies string replacements starting from the specified position.
References boost::math::tools::digits(), boost::end, boost::it, boost::expressions::pattern_replacer< CharT >::operator()(), and boost::unit_test::print_escaped().