numpunct

char_type · decimal_point · do_decimal_point · do_falsename · do_grouping · do_truename · do_thousands_sep · falsename · grouping · numpunct · string_type · thousands_sep · truename

template<class E, class numpunct : public locale::facet {
public:
    typedef E char_type;
    typedef basic_string<E> string_type;
    explicit numpunct(size_t refs = 0);
    E decimal_point() const;
    E thousands_sep() const;
    string grouping() const;
    string_type truename() const;
    string_type falsename() const;
    static locale::id id;
protected:
    ~numpunct();
    virtual E do_decimal_point() const;
    virtual E do_thousands_sep() const;
    virtual string do_grouping() const;
    virtual string_type do_truename() const;
    virtual string_type do_falsename() const;
    };

The template class describes an object that can serve as a locale facet, to describe the sequences of type E used to represent the input fields matched by num_get or the output fields generated by num_get.

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.