requires_cxx11.hpp 833 B

1234567891011121314151617181920212223
  1. #ifndef BOOST_SMART_PTR_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
  2. #define BOOST_SMART_PTR_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_NULLPTR) || \
  14. defined(BOOST_NO_CXX11_SMART_PTR)
  15. BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.86.")
  16. #endif
  17. #endif // #ifndef BOOST_SMART_PTR_DETAIL_REQUIRES_CXX11_HPP_INCLUDED