• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10module;
11#if __has_include(<hazard_pointer>)
12#  error "include this header unconditionally and uncomment the exported symbols"
13#  include <hazard_pointer>
14#endif
15
16export module std:hazard_pointer;
17export namespace std {
18#if 0
19#  if _LIBCPP_STD_VER >= 23
20  // 4.1.3, class template hazard_pointer_obj_base
21  using std::hazard_pointer_obj_base;
22  // 4.1.4, class hazard_pointer
23  using std::hazard_pointer;
24  // 4.1.5, Construct non-empty hazard_pointer
25  using std::make_hazard_pointer;
26  // 4.1.6, Hazard pointer swap
27  using std::swap;
28#  endif // _LIBCPP_STD_VER >= 23
29#endif
30} // namespace std
31