aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/codecvt.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/codecvt.cppm')
-rw-r--r--libcxx/modules/std/codecvt.cppm27
1 files changed, 27 insertions, 0 deletions
diff --git a/libcxx/modules/std/codecvt.cppm b/libcxx/modules/std/codecvt.cppm
new file mode 100644
index 000000000000..caa24c4ca47f
--- /dev/null
+++ b/libcxx/modules/std/codecvt.cppm
@@ -0,0 +1,27 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+module;
+#include <__config>
+#ifndef _LIBCPP_HAS_NO_LOCALIZATION
+# include <codecvt>
+#endif
+
+export module std:codecvt;
+#ifndef _LIBCPP_HAS_NO_LOCALIZATION
+export namespace std {
+
+ using std::codecvt_mode;
+
+ using std::codecvt_utf16;
+ using std::codecvt_utf8;
+ using std::codecvt_utf8_utf16;
+
+} // namespace std
+#endif // _LIBCPP_HAS_NO_LOCALIZATION