4.0 KiB
[locale.syn]
28 Text processing library [text]
28.3 Localization library [localization]
28.3.2 Header synopsis [locale.syn]
namespace std {// [locale], localeclass locale; template const Facet& use_facet(const locale&); template bool has_facet(const locale&) noexcept; // [locale.convenience], convenience interfacestemplate bool isspace (charT c, const locale& loc); template bool isprint (charT c, const locale& loc); template bool iscntrl (charT c, const locale& loc); template bool isupper (charT c, const locale& loc); template bool islower (charT c, const locale& loc); template bool isalpha (charT c, const locale& loc); template bool isdigit (charT c, const locale& loc); template bool ispunct (charT c, const locale& loc); template bool isxdigit(charT c, const locale& loc); template bool isalnum (charT c, const locale& loc); template bool isgraph (charT c, const locale& loc); template bool isblank (charT c, const locale& loc); template charT toupper(charT c, const locale& loc); template charT tolower(charT c, const locale& loc); // [category.ctype], ctypeclass ctype_base; template class ctype; template<> class ctype; // specializationtemplate class ctype_byname; class codecvt_base; template<class internT, class externT, class stateT> class codecvt; template<class internT, class externT, class stateT> class codecvt_byname; // [category.numeric], numerictemplate<class charT, class InputIterator = istreambuf_iterator>class num_get; template<class charT, class OutputIterator = ostreambuf_iterator>class num_put; templateclass numpunct; templateclass numpunct_byname; // [category.collate], collationtemplate class collate; template class collate_byname; // [category.time], date and timeclass time_base; template<class charT, class InputIterator = istreambuf_iterator>class time_get; template<class charT, class InputIterator = istreambuf_iterator>class time_get_byname; template<class charT, class OutputIterator = ostreambuf_iterator>class time_put; template<class charT, class OutputIterator = ostreambuf_iterator>class time_put_byname; // [category.monetary], moneyclass money_base; template<class charT, class InputIterator = istreambuf_iterator>class money_get; template<class charT, class OutputIterator = ostreambuf_iterator>class money_put; template<class charT, bool Intl = false>class moneypunct; template<class charT, bool Intl = false>class moneypunct_byname; // [category.messages], message retrievalclass messages_base; template class messages; template class messages_byname;}
The header defines classes and declares functions that encapsulate and manipulate the information peculiar to a locale.213
In this subclause, the type name tm is an incomplete type that is defined in .