File indexing completed on 2025-01-18 09:40:40
0001
0002
0003
0004
0005
0006 #ifndef BOOST_MATH_TOOLS_CXX03_WARN_HPP
0007 #define BOOST_MATH_TOOLS_CXX03_WARN_HPP
0008
0009 #include <boost/math/tools/config.hpp>
0010
0011 #if defined(BOOST_NO_CXX11_NOEXCEPT)
0012 # define BOOST_MATH_SHOW_CXX03_WARNING
0013 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_NOEXCEPT"
0014 #endif
0015 #if defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0016 # define BOOST_MATH_SHOW_CXX03_WARNING
0017 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_NOEXCEPT"
0018 #endif
0019 #if defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0020 # define BOOST_MATH_SHOW_CXX03_WARNING
0021 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_NOEXCEPT"
0022 #endif
0023 #if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0024 # define BOOST_MATH_SHOW_CXX03_WARNING
0025 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_RVALUE_REFERENCES"
0026 #endif
0027 #if defined(BOOST_NO_SFINAE_EXPR) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0028 # define BOOST_MATH_SHOW_CXX03_WARNING
0029 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_SFINAE_EXPR"
0030 #endif
0031 #if defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0032 # define BOOST_MATH_SHOW_CXX03_WARNING
0033 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_AUTO_DECLARATIONS"
0034 #endif
0035 #if defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0036 # define BOOST_MATH_SHOW_CXX03_WARNING
0037 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_LAMBDAS"
0038 #endif
0039 #if defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0040 # define BOOST_MATH_SHOW_CXX03_WARNING
0041 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX"
0042 #endif
0043 #if defined(BOOST_NO_CXX11_HDR_TUPLE) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0044 # define BOOST_MATH_SHOW_CXX03_WARNING
0045 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_HDR_TUPLE"
0046 #endif
0047 #if defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0048 # define BOOST_MATH_SHOW_CXX03_WARNING
0049 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_HDR_INITIALIZER_LIST"
0050 #endif
0051 #if defined(BOOST_NO_CXX11_HDR_CHRONO) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0052 # define BOOST_MATH_SHOW_CXX03_WARNING
0053 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_HDR_CHRONO"
0054 #endif
0055 #if defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0056 # define BOOST_MATH_SHOW_CXX03_WARNING
0057 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_CONSTEXPR"
0058 #endif
0059 #if defined(BOOST_NO_CXX11_NULLPTR) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0060 # define BOOST_MATH_SHOW_CXX03_WARNING
0061 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_NULLPTR"
0062 #endif
0063 #if defined(BOOST_NO_CXX11_NUMERIC_LIMITS) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0064 # define BOOST_MATH_SHOW_CXX03_WARNING
0065 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_NUMERIC_LIMITS"
0066 #endif
0067 #if defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0068 # define BOOST_MATH_SHOW_CXX03_WARNING
0069 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_DECLTYPE"
0070 #endif
0071 #if defined(BOOST_NO_CXX11_HDR_ARRAY) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0072 # define BOOST_MATH_SHOW_CXX03_WARNING
0073 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_HDR_ARRAY"
0074 #endif
0075 #if defined(BOOST_NO_CXX11_ALLOCATOR) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0076 # define BOOST_MATH_SHOW_CXX03_WARNING
0077 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_ALLOCATOR"
0078 #endif
0079 #if defined(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS) && !defined(BOOST_MATH_SHOW_CXX03_WARNING)
0080 # define BOOST_MATH_SHOW_CXX03_WARNING
0081 # define BOOST_MATH_CXX03_WARN_REASON "BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS"
0082 #endif
0083
0084 #ifdef BOOST_MATH_SHOW_CXX03_WARNING
0085
0086
0087
0088
0089
0090
0091
0092 #error Support for C++03 has been removed. The minimum requirement for this library is fully compliant C++11.
0093 #endif
0094
0095 #endif