aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/map.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/map.cppm')
-rw-r--r--libcxx/modules/std/map.cppm33
1 files changed, 33 insertions, 0 deletions
diff --git a/libcxx/modules/std/map.cppm b/libcxx/modules/std/map.cppm
new file mode 100644
index 000000000000..31353d1df9e4
--- /dev/null
+++ b/libcxx/modules/std/map.cppm
@@ -0,0 +1,33 @@
+// -*- 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 <map>
+
+export module std:map;
+export namespace std {
+ // [map], class template map
+ using std::map;
+
+ using std::operator==;
+ using std::operator<=>;
+
+ using std::swap;
+
+ // [map.erasure], erasure for map
+ using std::erase_if;
+
+ // [multimap], class template multimap
+ using std::multimap;
+
+ namespace pmr {
+ using std::pmr::map;
+ using std::pmr::multimap;
+ } // namespace pmr
+} // namespace std