Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:40

0001 //  (C) Copyright Matt Borland 2021.
0002 //  Use, modification and distribution are subject to the
0003 //  Boost Software License, Version 1.0. (See accompanying file
0004 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 #ifndef BOOST_MATH_TOOLS_HEADER_DEPRECATED
0007 #define BOOST_MATH_TOOLS_HEADER_DEPRECATED
0008 
0009 #ifndef BOOST_MATH_STANDALONE
0010 
0011 #   include <boost/config/header_deprecated.hpp>
0012 #   define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_HEADER_DEPRECATED(expr)
0013 
0014 #else
0015 
0016 #   ifdef _MSC_VER
0017 // Expands to "This header is deprecated; use expr instead."
0018 #       define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is deprecated; use " expr " instead.")
0019 #   else // GNU, Clang, Intel, IBM, etc.
0020 // Expands to "This header is deprecated use expr instead"
0021 #       define BOOST_MATH_HEADER_DEPRECATED_MESSAGE(expr) _Pragma(#expr)
0022 #       define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_MATH_HEADER_DEPRECATED_MESSAGE(message "This header is deprecated use " expr " instead")
0023 #   endif
0024 
0025 #endif // BOOST_MATH_STANDALONE
0026 
0027 #endif // BOOST_MATH_TOOLS_HEADER_DEPRECATED