Standard C++ Library Reference ISO/IEC (VERSION3)
field for a positive amount. (It also determines how to match the components of a monetary input field.) The encoding is
the same as for do_neg_format.
The template version of moneypunct<Elem, Intl> returns {money_base::symbol,
money_base::sign, money_base::value, money_base::none}.
moneypunct::do_positive_sign
string_type do_positive_sign() const;
The protected virtual member function returns a locale-specific sequence of elements to use as a positive sign.
moneypunct::do_thousands_sep
Elem do_thousands_sep() const;
The protected virtual member function returns a locale-specific element to use as a group separator to the left of any
decimal point.
moneypunct::frac_digits
int frac_digits() const;
The member function returns do_frac_digits().
moneypunct::grouping
string grouping() const;
The member function returns do_grouping().
moneypunct::moneypunct
explicit moneypunct(size_t refs = 0);
The constructor initializes its base object with locale::facet(refs).
moneypunct::neg_format
pattern neg_format() const;
The member function returns do_neg_format().
moneypunct::negative_sign
string_type negative_sign() const;
The member function returns do_negative_sign().
moneypunct::pos_format
pattern pos_format() const;
The member function returns do_pos_format().