1#ifndef BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
2#define BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
3
4// Copyright 2023 Peter Dimov
5// Distributed under the Boost Software License, Version 1.0.
6// https://www.boost.org/LICENSE_1_0.txt
7
8#include <boost/config.hpp>
9#include <boost/config/pragma_message.hpp>
10
11#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
12 defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
13 defined(BOOST_NO_CXX11_DECLTYPE) || \
14 defined(BOOST_NO_CXX11_CONSTEXPR) || \
15 defined(BOOST_NO_CXX11_NOEXCEPT) || \
16 defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
17
18BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Function 1.82 and will be removed in Boost.Function 1.84. Please open an issue in https://github.com/boostorg/function if you want it retained.")
19
20#endif
21
22#endif // #ifndef BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
23