aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/bitset.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/bitset.cppm')
-rw-r--r--libcxx/modules/std/bitset.cppm27
1 files changed, 27 insertions, 0 deletions
diff --git a/libcxx/modules/std/bitset.cppm b/libcxx/modules/std/bitset.cppm
new file mode 100644
index 000000000000..95404c899ef0
--- /dev/null
+++ b/libcxx/modules/std/bitset.cppm
@@ -0,0 +1,27 @@
+// -*- 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 <bitset>
+
+export module std:bitset;
+export namespace std {
+ using std::bitset;
+
+ // [bitset.operators], bitset operators
+ using std::operator&;
+ using std::operator|;
+ using std::operator^;
+ using std::operator>>;
+ using std::operator<<;
+
+ // [bitset.hash], hash support
+ using std::hash;
+
+} // namespace std