codecvt_byname Class

A derived template class that describes an object that can serve as a collate facet of a given locale, enabling the retrieval of information specific to a cultural area concerning conversions.

template<Class CharType, class Byte, class StateType>
    class codecvt_byname: public codecvt<CharType, Byte, StateType> {
public:
    explicit codecvt_byname(
        const char* _Locname,
        size_t _Refs = 0
    );
protected:
    virtual ~codecvt_byname( );
};

Remarks

Byname facets are automatically created when a named locale is constructed.

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

Requirements

Header: <locale>

Namespace: std

See Also

Reference

Thread Safety in the Standard C++ Library

Other Resources

<locale> Members