numpunct


class template
<locale>
template <class charT> class num_put;

Numeric punctuation facet

numpunct


The numpunct class provides information about the format of punctuation marks for numbers and the strings used to represent the true and false boolean values.

numpunct objects are prevented to be locally constructed by having a protected destructor. Only those installed in locale objects should be used through mechanisms such as use_facet.

This template class has one template parameter, representing the character type for which the facet returns information. This template parameter is referred in this entire reference as charT.

Public members

It includes the following public member functions:



Along with the following public member types:



Virtual protected members

The class defines the virtual protected members in charge of implementing the expected behavior of their corresponding public member functions:


Along with the class destructor:


numpunct specializations: numpunct<char> and numpunct<wchar_t>

Two standard specializations define the standard behavior for the char and wchar_t types.