aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/stack.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/stack.cppm')
-rw-r--r--libcxx/modules/std/stack.cppm28
1 files changed, 28 insertions, 0 deletions
diff --git a/libcxx/modules/std/stack.cppm b/libcxx/modules/std/stack.cppm
new file mode 100644
index 000000000000..91cec2dd189d
--- /dev/null
+++ b/libcxx/modules/std/stack.cppm
@@ -0,0 +1,28 @@
+// -*- 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 <stack>
+
+export module std:stack;
+export namespace std {
+ // [stack], class template stack
+ using std::stack;
+
+ using std::operator==;
+ using std::operator!=;
+ using std::operator<;
+ using std::operator>;
+ using std::operator<=;
+ using std::operator>=;
+ using std::operator<=>;
+
+ using std::swap;
+ using std::uses_allocator;
+} // namespace std