boost_no_cxx11_hdr_chrono.ipp 863 B

12345678910111213141516171819202122232425262728293031
  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_CHRONO
  7. // TITLE: C++0x header <chrono> unavailable
  8. // DESCRIPTION: The standard library does not supply C++0x header <chrono>
  9. #include <chrono>
  10. namespace boost_no_cxx11_hdr_chrono {
  11. int test()
  12. {
  13. using std::chrono::nanoseconds;
  14. using std::chrono::microseconds;
  15. using std::chrono::milliseconds;
  16. using std::chrono::seconds;
  17. using std::chrono::minutes;
  18. using std::chrono::hours;
  19. using std::chrono::system_clock;
  20. using std::chrono::steady_clock;
  21. using std::chrono::high_resolution_clock;
  22. return 0;
  23. }
  24. }