]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_no_cxx20_hdr_stop_token.ipp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_cxx20_hdr_stop_token.ipp
1 // (C) Copyright John Maddock 2021
2
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7 // See http://www.boost.org/libs/config for more information.
8
9 // MACRO: BOOST_NO_CXX20_HDR_STOP_TOKEN
10 // TITLE: C++20 <stop_token> header is either not present or too broken to be used
11 // DESCRIPTION: The compiler does not support the C++20 header <stop_token>
12
13 #include <stop_token>
14
15 namespace boost_no_cxx20_hdr_stop_token {
16
17 using std::stop_token;
18 using std::stop_source;
19 using std::stop_callback;
20 using std::nostopstate_t;
21 using std::nostopstate;
22
23 int test()
24 {
25 return 0;
26 }
27
28 }