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