boost_no_cxx11_hdr_mutex.ipp 664 B

1234567891011121314151617181920212223242526
  1. // (C) Copyright Beman Dawes 2009
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for more information.
  6. // MACRO: BOOST_NO_CXX11_HDR_MUTEX
  7. // TITLE: C++0x header <mutex> unavailable
  8. // DESCRIPTION: The standard library does not supply C++0x header <mutex>
  9. #include <mutex>
  10. namespace boost_no_cxx11_hdr_mutex {
  11. int test()
  12. {
  13. using std::mutex;
  14. using std::recursive_mutex;
  15. using std::timed_mutex;
  16. using std::recursive_timed_mutex;
  17. return 0;
  18. }
  19. }