moneypunct

char_type · curr_symbol · decimal_point · do_curr_symbol · do_decimal_point · do_frac_digits · do_grouping · do_neg_format · do_negative_sign · do_pos_format · do_positive_sign · do_thousands_sep · frac_digits · grouping · moneypunct · neg_format · negative_sign · pos_format · positive_sign · string_type · thousands_sep

template<class E, bool Intl>
    class moneypunct : public locale::facet, public money_base {
public:
    typedef E char_type;
    typedef basic_string<E> string_type;
    explicit moneypunct(size_t refs = 0);
    E decimal_point() const;
    E thousands_sep() const;
    string grouping() const;
    string_type curr_symbol() const;
    string_type positive_sign() const;
    string_type negative_sign() const;
    int frac_digits() const;
    pattern pos_format(  oonst;
    pattern neg_format() const;
    static const bool intl = Intl;
    static locale::id id;
protected:
    ~moneypunct();
    virtual E do_decimal_point() const;
    virtual E do_thousands_sep() const;
    virtual string do_grouping() const;
    virtual string_type do_curr_symbol() const;
    virtual string_type do_positive_sign() const;
    virtual string_type do_negative_sign() const;
    virtual int do_frac_digits() const;
    virtual pattern do_pos_format() const;
    virtual pattern do_neg_format() const;
    };

The template class describes an object that can serve as a locale facet, to describe the sequences of type E used to represent a monetary input field or a monetary output field. If the template parameter Intl is true, international conventions are observed.

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.

The const static object intl stores the value of the template parameter Intl.