requires_cxx11.hpp 816 B

12345678910111213141516171819202122
  1. #ifndef BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
  2. #define BOOST_FUNCTION_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_FUNCTIONAL)
  14. BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Function 1.82 and will be removed in Boost.Function 1.85.")
  15. #endif
  16. #endif // #ifndef BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED