description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: collate_byname Class |
collate_byname Class |
11/04/2016 |
|
|
3dc380df-867c-4763-b60e-ba62a8e63ca7 |
A derived class template 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);
explicit collate_byname(
const string& _Locname,
size_t _Refs = 0);
protected:
virtual ~collate_byname();
};
_Locname
A named locale.
_Refs
An initial reference count.
The class template describes an object that can serve as a locale facet of type collate<CharType>. Its behavior is determined by the named locale _Locname. Each constructor initializes its base object with collate<CharType>( _Refs
).
Header: <locale>
Namespace: std