boost_no_cxx11_hdr_ratio.ipp 841 B

12345678910111213141516171819202122232425262728293031323334353637
  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_RATIO
  7. // TITLE: C++0x header <ratio> unavailable
  8. // DESCRIPTION: The standard library does not supply C++0x header <ratio>
  9. #include <ratio>
  10. namespace boost_no_cxx11_hdr_ratio {
  11. int test()
  12. {
  13. using std::atto;
  14. using std::femto;
  15. using std::pico;
  16. using std::nano;
  17. using std::micro;
  18. using std::milli;
  19. using std::centi;
  20. using std::deci;
  21. using std::deca;
  22. using std::hecto;
  23. using std::kilo;
  24. using std::mega;
  25. using std::tera;
  26. using std::peta;
  27. using std::exa;
  28. return 0;
  29. }
  30. }