collate_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 string sorting conventions.

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

Remarks

The template class describes an object that can serve as a locale facet of type collate<CharType>. Its behavior is determined by the named locale _Locname. The constructor initializes its base object with collate<CharType>(_Refs).

Requirements

Header: <locale>

Namespace: std

See Also

Concepts

<locale> Members

Thread Safety in the Standard C++ Library