brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 867fcaa Raw
28 lines · plain
1//  (C) Copyright Matt Borland 2021.2//  Use, modification and distribution are subject to the3//  Boost Software License, Version 1.0. (See accompanying file4//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)5 6#ifndef BOOST_MATH_TOOLS_HEADER_DEPRECATED7#define BOOST_MATH_TOOLS_HEADER_DEPRECATED8 9#ifndef BOOST_MATH_STANDALONE10 11#   include <boost/config/header_deprecated.hpp>12#   define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_HEADER_DEPRECATED(expr)13 14#else15 16#   ifdef _MSC_VER17// Expands to "This header is deprecated; use expr instead."18#       define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is deprecated; use " expr " instead.")19#   else // GNU, Clang, Intel, IBM, etc.20// Expands to "This header is deprecated use expr instead"21#       define BOOST_MATH_HEADER_DEPRECATED_MESSAGE(expr) _Pragma(#expr)22#       define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_MATH_HEADER_DEPRECATED_MESSAGE(message "This header is deprecated use " expr " instead")23#   endif24 25#endif // BOOST_MATH_STANDALONE26 27#endif // BOOST_MATH_TOOLS_HEADER_DEPRECATED28