Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
locale
has_facet
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
locale
tolower
toupper
use_facet
standard facets:
codecvt
codecvt_base
codecvt_byname
collate
collate_byname
ctype
ctype_base
ctype_byname
messages
messages_base
messages_byname
moneypunct
moneypunct_byname
money_base
money_get
money_put
numpunct
numpunct_byname
num_get
num_put
time_base
time_get
time_get_byname
time_put
time_put_byname
moneypunct
moneypunct::moneypunct
public member constant:
moneypunct::intl
public member functions:
moneypunct::curr_symbol
moneypunct::decimal_point
moneypunct::frac_digits
moneypunct::grouping
moneypunct::negative_sign
moneypunct::neg_format
moneypunct::positive_sign
moneypunct::pos_format
moneypunct::thousands_sep
public member types:
moneypunct::char_type
moneypunct::part
moneypunct::pattern
moneypunct::string_type
protected members:
moneypunct::do_curr_symbol
moneypunct::do_decimal_point
moneypunct::do_frac_digits
moneypunct::do_grouping
moneypunct::do_negative_sign
moneypunct::do_neg_format
moneypunct::do_positive_sign
moneypunct::do_pos_format
moneypunct::do_thousands_sep
moneypunct::~moneypunct


moneypunct

class template
<locale>
template <class charT, bool International = false> class moneypunct;

Monetary punctuation facet

moneypunct


The moneypunct standard facet can be used to obtain information about the format of punctuation marks and currency symbols for monetary expressions.

moneypunct 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 two template parameters: The first one, charT, is the character type. The second one, International, specifies whether international representation is enabled. They are referred in this entire reference as charT and International, respectively:
 
template <class charT, bool International = false> moneypunct;


The class defines a member alias for the character type: moneypunct::char_type, and a basic_string member type for strings containing this same type of characters.

Public members

It includes the following public member functions:

Along with the following public member types:

And the member constant:

Virtual protected members

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


And the class destructor