numpunct_byname Class

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

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();

 };

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

Header: <locale>

Namespace: std

Thread Safety in the C++ Standard Library

Show: