| 1 | /*============================================================================= |
| 2 | Copyright (c) 2016 Paul Fultz II |
| 3 | noexcept.hpp |
| 4 | Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | ==============================================================================*/ |
| 7 | |
| 8 | #ifndef BOOST_HOF_GUARD_DETAIL_NOEXCEPT_HPP |
| 9 | #define BOOST_HOF_GUARD_DETAIL_NOEXCEPT_HPP |
| 10 | |
| 11 | #include <boost/hof/config.hpp> |
| 12 | |
| 13 | #if BOOST_HOF_HAS_NOEXCEPT_DEDUCTION |
| 14 | #define BOOST_HOF_NOEXCEPT(...) noexcept(__VA_ARGS__) |
| 15 | #else |
| 16 | #define BOOST_HOF_NOEXCEPT(...) |
| 17 | #endif |
| 18 | |
| 19 | #endif |
| 20 | |