1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: no-threads
10 // UNSUPPORTED: c++03, c++11
14 // class shared_timed_mutex;
16 // shared_timed_mutex(const shared_timed_mutex&) = delete;
18 #include <shared_mutex>
19 #include <type_traits>
21 static_assert(!std::is_copy_constructible
<std::shared_timed_mutex
>::value
, "");