Standard C++ Library Reference ISO/IEC (VERSION3)
moneypunct::do_curr_symbol
string_type do_curr_symbol() const;
The protected virtual member function returns a locale-specific sequence of elements to use as a currency symbol.
moneypunct::do_decimal_point
Elem do_decimal_point() const;
The protected virtual member function returns a locale-specific element to use as a decimal-point.
moneypunct::do_frac_digits
int do_frac_digits() const;
The protected virtual member function returns a locale-specific count of the number of digits to display to the right of
any decimal point.
moneypunct::do_grouping
string do_grouping() const;
The protected virtual member function returns a locale-specific rule for determining how digits are grouped to the left of
any decimal point. The encoding is the same as for lconv::grouping.
moneypunct::do_neg_format
pattern do_neg_format() const;
The protected virtual member function returns a locale-specific rule for determining how to generate a monetary output
field for a neeative amount. Each of the four elements of pattern::field can have the values:
none to match zero or more spaces or generate nothing●
sign to match or generate a positive or negative sign●
space to match zero or more spaces or generate a space●
symbol to match or generate a currency symbol●
value to match or generate a monetary value●
Components of a monetary output field are generated (and components of a monetary input field are matched) in the
order in which these elements appear in pattern::field. Each of the values sign, symbol, value, and either
none or space must appear exactly once. The value none must not appear first. The value space must not appear
first or last. If Intl is true, the order is symbol, sign, none, then value.
The template version of moneypunct<Elem, Intl> returns {money_base::symbol,
money_base::sign, money_base::value, money_base::none}.
moneypunct::do_negative_sign
string_type do_negative_sign() const;
The protected virtual member function returns a locale-specific sequence of elements to use as a negative sign.
moneypunct::do_pos_format
pattern do_pos_format() const;
The protected virtual member function returns a locale-specific rule for determining how to generate a monetary output