|
||||
File indexing completed on 2025-01-18 09:40:42
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_THROW_EXCEPTION_HPP 0007 #define BOOST_MATH_TOOLS_THROW_EXCEPTION_HPP 0008 0009 #include <boost/math/tools/is_standalone.hpp> 0010 0011 #ifndef BOOST_MATH_STANDALONE 0012 0013 #include <boost/throw_exception.hpp> 0014 #define BOOST_MATH_THROW_EXCEPTION(expr) boost::throw_exception(expr); 0015 0016 #else // Standalone mode - use standard library facilities 0017 0018 #define BOOST_MATH_THROW_EXCEPTION(expr) throw expr; 0019 0020 #endif // BOOST_MATH_STANDALONE 0021 0022 #endif // BOOST_MATH_TOOLS_THROW_EXCEPTION_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |