requires_cxx11.hpp 806 B

123456789101112131415161718192021222324
  1. #ifndef BOOST_EXCEPTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
  2. #define BOOST_EXCEPTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
  3. // Copyright 2023 Peter Dimov
  4. // Copyright 2024 Emil Dotchevski
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // https://www.boost.org/LICENSE_1_0.txt
  7. #include <boost/config.hpp>
  8. #include <boost/config/pragma_message.hpp>
  9. #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
  10. defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
  11. defined(BOOST_NO_CXX11_DECLTYPE) || \
  12. defined(BOOST_NO_CXX11_CONSTEXPR) || \
  13. defined(BOOST_NO_CXX11_NOEXCEPT) || \
  14. defined(BOOST_NO_CXX11_NULLPTR) || \
  15. defined(BOOST_NO_CXX11_SMART_PTR)
  16. BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Exception 1.85 and will be removed in Boost.Exception 1.87.")
  17. #endif
  18. #endif