Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template const_formatter

boost::algorithm::const_formatter — Constant formatter.

Synopsis

// In header: <boost/algorithm/string/formatter.hpp>


template<typename RangeT> unspecified const_formatter(const RangeT & Format);

Description

Constructs a const_formatter. Const formatter always returns the same value, regardless of the parameter.

Parameters:

Format

A predefined value used as a result for formating

Returns:

An instance of the const_formatter object.


PrevUpHomeNext