Name
collate_byname class template — Facet for comparing strings in collation order
Synopsis
template <typename charT> class collate_byname : public collate<charT> { public: typedef basic_string<charT> string_type; explicit collate_byname(const char*, size_t refs = 0); protected: // . . . Same virtual functions as in collate };
Compares strings using a named locale’s collation order. The
collate_byname<char>
and
collate_byname<wchar_t>
instantiations are standard.
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.