class template
std::moneypunct
- Header
<locale>- Scope
std- cppreference
- std::moneypunct
Synopsis
template<class charT, bool Intl = false>
class moneypunct
: public locale::facet
, public money_baseMember types
| Name | Declaration |
|---|---|
patternclass · nested | struct pattern |
char_typetype alias · member type | = charT |
string_typetype alias · member type | = basic_string<charT> |
partenumeration | enum part |
Member functions
| Name | Declaration |
|---|---|
moneypunctconstructor | moneypunct(size_t refs) |
curr_symbolmember function | string_type curr_symbol() const |
decimal_pointmember function | charT decimal_point() const |
frac_digitsmember function | int frac_digits() const |
groupingmember function | string grouping() const |
neg_formatmember function | pattern neg_format() const |
negative_signmember function | string_type negative_sign() const |
pos_formatmember function | pattern pos_format() const |
positive_signmember function | string_type positive_sign() const |
thousands_sepmember function | charT thousands_sep() const |
Static data members
Protected Member functions
| Name | Declaration |
|---|---|
~moneypunctdestructor | ~moneypunct() |
operator=operator | void operator=(const facet& other) |
do_curr_symbolmember function | string_type do_curr_symbol() const |
do_decimal_pointmember function | charT do_decimal_point() const |
do_frac_digitsmember function | int do_frac_digits() const |
do_groupingmember function | string do_grouping() const |
do_neg_formatmember function | pattern do_neg_format() const |
do_negative_signmember function | string_type do_negative_sign() const |
do_pos_formatmember function | pattern do_pos_format() const |
do_positive_signmember function | string_type do_positive_sign() const |
do_thousands_sepmember function | charT do_thousands_sep() const |