cpp/locale/num put

Class encapsulates the rules for formatting numeric values as strings. Specifically, the types, , , , , , and of all types implicitly convertible to these (such as or ) are supported. The standard formatting output operators (such as ) use the facet of the I/O stream's locale to generate text representation of numbers.

If a specialization is not guaranteed to be provided by the standard library (see below), the behaviors of its put and do_put are not guaranteed as specified.

Specializations
The standard library is guaranteed to provide the following specializations (they are ):

In addition, the standard library is also guaranteed to provide every specialization that satisfies the following type requirements:
 * is one of
 * , and
 * any other implementation-defined character type that meets the requirements for a character on which any of the iostream components can be instantiated; and
 * must meet the requirements of.
 * must meet the requirements of.