123456789101112131415161718192021222324252627282930 |
- #ifndef BOOST_UNORDERED_DETAIL_THROW_EXCEPTION_HPP
- #define BOOST_UNORDERED_DETAIL_THROW_EXCEPTION_HPP
- #include <boost/config.hpp>
- #if defined(BOOST_HAS_PRAGMA_ONCE)
- #pragma once
- #endif
- #include <boost/throw_exception.hpp>
- #include <stdexcept>
- namespace boost {
- namespace unordered {
- namespace detail {
- BOOST_NOINLINE BOOST_NORETURN inline void throw_out_of_range(
- char const* message)
- {
- boost::throw_exception(std::out_of_range(message));
- }
- }
- }
- }
- #endif
|