numpunct Class
A template class that describes an object that can serve as a local facet to describe the sequences of type CharType used to represent information about the formatting and punctuation of numeric and Boolean expressions.
template <class CharType>
class numpunct : public locale::facet;
Parameters
- CharType
The type used within a program to encode characters in a locale.
Remarks
As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.
Constructors
The constructor for objects of type numpunct. |
Typedefs
A type that is used to describe a character used by a locale. |
|
A type that describes a string containing characters of type CharType. |
Member Functions
Returns a locale-specific element to use as a decimal point. |
|
A protected virtual member function that is called to return a locale-specific element to use as a decimal point. |
|
A protected virtual member function that is called to return a string to use as a text representation of the value false. |
|
A protected virtual member function that is called to return a locale-specific rule for determining how digits are grouped to the left of any decimal point. |
|
A protected virtual member function that is called to return a locale-specific element to use as a thousands separator. |
|
A protected virtual member function that is called to return a string to use as a text representation of the value true. |
|
Returns a string to use as a text representation of the value false. |
|
Returns a locale-specific rule for determining how digits are grouped to the left of any decimal point. |
|
Returns a locale-specific element to use as a thousands separator. |
|
Returns a string to use as a text representation of the value true. |
Requirements
Header: <locale>
Namespace: std