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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
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 formatting

Returns:

An instance of the const_formatter object.


PrevUpHomeNext