Back to home page

EIC code displayed by LXR

 
 

    


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

0001 //  (C) Copyright Antony Polukhin 2022.
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_NOTHROW_HPP
0007 #define BOOST_MATH_TOOLS_NOTHROW_HPP
0008 
0009 #include <boost/math/tools/is_standalone.hpp>
0010 
0011 #ifndef BOOST_MATH_STANDALONE
0012 
0013 #include <boost/config.hpp>
0014 
0015 #define BOOST_MATH_NOTHROW BOOST_NOEXCEPT_OR_NOTHROW
0016 
0017 #else // Standalone mode - use noexcept or throw()
0018 
0019 #if __cplusplus >= 201103L
0020 #define BOOST_MATH_NOTHROW noexcept
0021 #else
0022 #define BOOST_MATH_NOTHROW throw()
0023 #endif
0024 
0025 #endif
0026 
0027 #endif // BOOST_MATH_TOOLS_NOTHROW_HPP