
This updates: - The status tables - Feature test macros - New headers for modules The latter avoids forgetting about modules when implementing the feature in a new header. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D153192
30 lines
900 B
C++
30 lines
900 B
C++
// -*- 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;
|
|
#if __has_include(<rcu>)
|
|
# error "include this header unconditionally and uncomment the exported symbols"
|
|
# include <rcu>
|
|
#endif
|
|
|
|
export module std:rcu;
|
|
export namespace std {
|
|
#if 0
|
|
# if _LIBCPP_STD_VER >= 23
|
|
// 2.2.3, class template rcu_obj_base using std::rcu_obj_base;
|
|
// 2.2.4, class rcu_domain
|
|
using std::rcu_domain;
|
|
using std::rcu_default_domain();
|
|
using std::rcu_barrier;
|
|
using std::rcu_retire;
|
|
using std::rcu_synchronize;
|
|
# endif // _LIBCPP_STD_VER >= 23
|
|
#endif
|
|
} // namespace std
|