Boost C++ Libraries

PrevUpHomeNext

Function template char_dec

boost::log::formatters::char_dec

Synopsis

// In header: <boost/log/formatters/char_decorator.hpp>


template<typename RangeT1, typename RangeT2> 
  implementation_defined char_dec(RangeT1 const & from, RangeT2 const & to);

Description

The function returns a decorator generator object. The generator provides operator[] that can be used to construct the actual decorator.

[Note] Note

The from and to sequences mush be of the same size. Every from[i] substring occurrence in the output will be replaced with to[i].

Parameters:
from

A sequence of strings that will be sought in the output.

to

A sequence of strings that will be used as replacements.


PrevUpHomeNext