Redigeeri

Jagamisviis:


numpunct_byname Class

The derived class template describes an object that can serve as a numpunct facet of a given locale enabling the formatting and punctuation of numeric and Boolean expressions.

Syntax

template <class CharType>
class numpunct_byname : public numpunct<Elem> {
public:
    explicit numpunct_byname(
    const char* _Locname,
    size_t _Refs = 0);

    explicit numpunct_byname(
    const string& _Locname,
    size_t _Refs = 0);

protected:
    virtual ~numpunct_byname();

};

Remarks

Its behavior is determined by the named locale _Locname. The constructor initializes its base object with numpunct<CharType>( _Refs).

Requirements

Header: <locale>

Namespace: std

See also

Thread Safety in the C++ Standard Library