moneypunct_byname Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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();

};

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

Header: <locale>

Namespace: std

Thread Safety in the C++ Standard Library

Show: