aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/modules/std/hazard_pointer.inc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/libcxx/modules/std/hazard_pointer.inc')
-rw-r--r--contrib/llvm-project/libcxx/modules/std/hazard_pointer.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/modules/std/hazard_pointer.inc b/contrib/llvm-project/libcxx/modules/std/hazard_pointer.inc
new file mode 100644
index 000000000000..e56f4d0bf436
--- /dev/null
+++ b/contrib/llvm-project/libcxx/modules/std/hazard_pointer.inc
@@ -0,0 +1,23 @@
+// -*- 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
+//
+//===----------------------------------------------------------------------===//
+
+export namespace std {
+#if 0
+# if _LIBCPP_STD_VER >= 23
+ // 4.1.3, class template hazard_pointer_obj_base
+ using std::hazard_pointer_obj_base;
+ // 4.1.4, class hazard_pointer
+ using std::hazard_pointer;
+ // 4.1.5, Construct non-empty hazard_pointer
+ using std::make_hazard_pointer;
+ // 4.1.6, Hazard pointer swap
+ using std::swap;
+# endif // _LIBCPP_STD_VER >= 23
+#endif
+} // namespace std