requires_cxx11.hpp 819 B

1234567891011121314151617181920212223
  1. #ifndef BOOST_CHRONO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
  2. #define BOOST_CHRONO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
  3. // Copyright 2023 Peter Dimov
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // https://www.boost.org/LICENSE_1_0.txt
  6. #include <boost/config.hpp>
  7. #include <boost/config/pragma_message.hpp>
  8. #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
  9. defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
  10. defined(BOOST_NO_CXX11_DECLTYPE) || \
  11. defined(BOOST_NO_CXX11_CONSTEXPR) || \
  12. defined(BOOST_NO_CXX11_NOEXCEPT) || \
  13. defined(BOOST_NO_CXX11_HDR_CHRONO) || \
  14. defined(BOOST_NO_CXX11_HDR_RATIO)
  15. BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Chrono 1.82 and was removed in Boost.Chrono 1.84.")
  16. #endif
  17. #endif // #ifndef BOOST_CHRONO_DETAIL_REQUIRES_CXX11_HPP_INCLUDED