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