xref: /freebsd/contrib/llvm-project/libcxx/modules/std/locale.inc (revision 1c4ee7dfb8affed302171232b0f612e6bcba3c10)
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10export namespace std {
11#ifndef _LIBCPP_HAS_NO_LOCALIZATION
12  // [locale], locale
13  using std::has_facet;
14  using std::locale;
15  using std::use_facet;
16
17  // [locale.convenience], convenience interfaces
18  using std::isalnum;
19  using std::isalpha;
20  using std::isblank;
21  using std::iscntrl;
22  using std::isdigit;
23  using std::isgraph;
24  using std::islower;
25  using std::isprint;
26  using std::ispunct;
27  using std::isspace;
28  using std::isupper;
29  using std::isxdigit;
30  using std::tolower;
31  using std::toupper;
32
33  // [category.ctype], ctype
34  using std::codecvt;
35  using std::codecvt_base;
36  using std::codecvt_byname;
37  using std::ctype;
38  using std::ctype_base;
39  using std::ctype_byname;
40
41  // [category.numeric], numeric
42  using std::num_get;
43  using std::num_put;
44  using std::numpunct;
45  using std::numpunct_byname;
46
47  // [category.collate], collation
48  using std::collate;
49  using std::collate_byname;
50
51  // [category.time], date and time
52  using std::time_base;
53  using std::time_get;
54  using std::time_get_byname;
55  using std::time_put;
56  using std::time_put_byname;
57
58  // [category.monetary], money
59  using std::money_base;
60  using std::money_get;
61  using std::money_put;
62  using std::moneypunct;
63  using std::moneypunct_byname;
64
65  // [category.messages], message retrieval
66  using std::messages;
67  using std::messages_base;
68  using std::messages_byname;
69
70  // [depr.conversions.buffer]
71  using std::wbuffer_convert;
72
73  // [depr.conversions.string]
74  using std::wstring_convert;
75#endif // _LIBCPP_HAS_NO_LOCALIZATION
76} // namespace std
77