• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//  (C) Copyright Edward Diener 2015
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_CXX14_HDR_SHARED_MUTEX
10//  TITLE:         C++0y header <shared_mutex> unavailable
11//  DESCRIPTION:   The standard library does not supply C++0y header <shared_mutex>
12
13#include <shared_mutex>
14
15namespace boost_no_cxx14_hdr_shared_mutex {
16
17int test()
18{
19  //
20  // We should probably test __cpp_lib_shared_timed_mutex here, but since neither
21  // MSVC/Dinkumware, nor clang/libc++ bother to set it (as of July 2015), there's
22  // not much point....
23  using std::shared_timed_mutex;
24  return 0;
25}
26
27}
28