2 Copyright 2019 Glen Joseph Fernandes
5 Distributed under the Boost Software License, Version 1.0.
6 (http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_ALIGN_DETAIL_THROW_EXCEPTION_HPP
9 #define BOOST_ALIGN_DETAIL_THROW_EXCEPTION_HPP
11 #include <boost/config.hpp>
12 #if defined(BOOST_NO_EXCEPTIONS)
18 #if defined(BOOST_NO_EXCEPTIONS)
19 BOOST_NORETURN void throw_exception(const std::exception&);
25 #if !defined(BOOST_NO_EXCEPTIONS)
27 BOOST_NORETURN inline void
28 throw_exception(const E& error)
33 BOOST_NORETURN inline void
34 throw_exception(const std::exception& error)
36 boost::throw_exception(error);