]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_no_cxx11_hdr_mutex.ipp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_cxx11_hdr_mutex.ipp
1 // (C) Copyright Beman Dawes 2009
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_CXX11_HDR_MUTEX
10 // TITLE: C++0x header <mutex> unavailable
11 // DESCRIPTION: The standard library does not supply C++0x header <mutex>
12
13 #include <mutex>
14
15 namespace boost_no_cxx11_hdr_mutex {
16
17 int test()
18 {
19 using std::mutex;
20 using std::recursive_mutex;
21 using std::timed_mutex;
22 using std::recursive_timed_mutex;
23 return 0;
24 }
25
26 }