xref: /freebsd/contrib/llvm-project/libcxx/modules/std/hazard_pointer.inc (revision 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
1*5f757f3fSDimitry Andric// -*- C++ -*-
2*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
3*5f757f3fSDimitry Andric//
4*5f757f3fSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5*5f757f3fSDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
6*5f757f3fSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7*5f757f3fSDimitry Andric//
8*5f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
9*5f757f3fSDimitry Andric
10*5f757f3fSDimitry Andricexport namespace std {
11*5f757f3fSDimitry Andric#if 0
12*5f757f3fSDimitry Andric#  if _LIBCPP_STD_VER >= 23
13*5f757f3fSDimitry Andric  // 4.1.3, class template hazard_pointer_obj_base
14*5f757f3fSDimitry Andric  using std::hazard_pointer_obj_base;
15*5f757f3fSDimitry Andric  // 4.1.4, class hazard_pointer
16*5f757f3fSDimitry Andric  using std::hazard_pointer;
17*5f757f3fSDimitry Andric  // 4.1.5, Construct non-empty hazard_pointer
18*5f757f3fSDimitry Andric  using std::make_hazard_pointer;
19*5f757f3fSDimitry Andric  // 4.1.6, Hazard pointer swap
20*5f757f3fSDimitry Andric  using std::swap;
21*5f757f3fSDimitry Andric#  endif // _LIBCPP_STD_VER >= 23
22*5f757f3fSDimitry Andric#endif
23*5f757f3fSDimitry Andric} // namespace std
24