Compartilhar via


moneypunct_byname Class

A derived template class that describes an object that can serve as a moneypunct facet of a given locale, enabling the formatting monetary input field or monetary output fields.

template<class CharType, bool Intl = false>
class moneypunct_byname : public moneypunct<CharType, Intl>
{
public:
    explicit moneypunct_byname(
        const char *_Locname,
        size_t _Refs = 0
    );
    explicit moneypunct_byname(
        const string& _Locname,
        size_t _Refs = 0
    ); 
protected:
    virtual ~moneypunct_byname();
};

Remarks

Its behavior is determined by the named locale _Locname. Each constructor initializes its base object with moneypunct<CharType, Intl>(_Refs).

Requirements

Header: <locale>

Namespace: std

See Also

Reference

Thread Safety in the C++ Standard Library