Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.2 KB

moneypunct-byname-class.md

File metadata and controls

46 lines (33 loc) · 1.2 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: moneypunct_byname Class
moneypunct_byname Class
11/04/2016
xlocmon/std::moneypunct_byname
moneypunct_byname class
e8a544d2-6aee-420d-b513-deb385c9b416

moneypunct_byname Class

A derived class template 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.

Syntax

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

Thread Safety in the C++ Standard Library