1 #ifndef BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED
2 #define BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED
4 // Copyright 2017 Peter Dimov.
6 // Distributed under the Boost Software License, Version 1.0.
8 // See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt
11 // BOOST_HEADER_DEPRECATED("<alternative>")
13 // Expands to the equivalent of
14 // BOOST_PRAGMA_MESSAGE("This header is deprecated. Use <alternative> instead.")
16 // Note that this header is C compatible.
18 #include <boost/config/pragma_message.hpp>
20 #if defined(BOOST_ALLOW_DEPRECATED_HEADERS)
21 # define BOOST_HEADER_DEPRECATED(a)
23 # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
26 #endif // BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED