money_put Class
The template class describes an object that can serve as a locale facet to control conversions of monetary values to sequences of type CharType.
template<
class CharType,
class OutputIterator = ostreambuf_iterator<CharType>
> class money_put : public locale::facet;
Parameters
CharType
The type used within a program to encode characters in a locale.OutputIterator
The type of iterator to which the monetary put functions write their output.
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 money_put. |
Typedefs
A type that is used to describe a character used by a locale. |
|
A type that describes an output iterator. |
|
A type that describes a string containing characters of type CharType. |
Member Functions
A virtual function called to convert either number or a string to a character sequence that represents a monetary value. |
|
Converts either number or a string to a character sequence that represents a monetary value. |
Requirements
Header: <locale>
Namespace: std