aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/scoped_allocator.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/scoped_allocator.cppm')
-rw-r--r--libcxx/modules/std/scoped_allocator.cppm21
1 files changed, 21 insertions, 0 deletions
diff --git a/libcxx/modules/std/scoped_allocator.cppm b/libcxx/modules/std/scoped_allocator.cppm
new file mode 100644
index 000000000000..f198db90d102
--- /dev/null
+++ b/libcxx/modules/std/scoped_allocator.cppm
@@ -0,0 +1,21 @@
+// -*- 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 <scoped_allocator>
+
+export module std:scoped_allocator;
+export namespace std {
+ // class template scoped_allocator_adaptor
+ using std::scoped_allocator_adaptor;
+
+ // [scoped.adaptor.operators], scoped allocator operators
+ using std::operator==;
+
+} // namespace std