ctype_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 ctype facet of a given locale, enabling the classification of characters and conversion of characters between case and native and locale specified character sets.

template <class _Elem>
class ctype_byname : public ctype<_Elem>
    explicit ctype_byname(
    const char* _Locname,
    size_t _Refs = 0);

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

    virtual __CLR_OR_THIS_CALL ~ctype_byname();


Its behavior is determined by the named locale _Locname. Each constructor initializes its base object with ctype<CharType>( _Refs) or the equivalent for base class ctype<char>.

Header: <locale>

Namespace: std

Thread Safety in the C++ Standard Library