Blame view

3rdparty/boost_1_81_0/boost/config/header_deprecated.hpp 848 Bytes
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  #ifndef BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED
  #define BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED
  
  //  Copyright 2017 Peter Dimov.
  //
  //  Distributed under the Boost Software License, Version 1.0.
  //
  //  See accompanying file LICENSE_1_0.txt or copy at
  //  http://www.boost.org/LICENSE_1_0.txt
  //
  //  BOOST_HEADER_DEPRECATED("<alternative>")
  //
  //  Expands to the equivalent of
  //    BOOST_PRAGMA_MESSAGE("This header is deprecated. Use <alternative> instead.")
  //
  //  Note that this header is C compatible.
  
  #include <boost/config/pragma_message.hpp>
  
  #if defined(BOOST_ALLOW_DEPRECATED_HEADERS) || defined(BOOST_ALLOW_DEPRECATED)
  # define BOOST_HEADER_DEPRECATED(a)
  #else
  # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
  #endif
  
  #endif // BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED