diff options
Diffstat (limited to 'boost/hof/detail/noexcept.hpp')
-rw-r--r-- | boost/hof/detail/noexcept.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/boost/hof/detail/noexcept.hpp b/boost/hof/detail/noexcept.hpp new file mode 100644 index 0000000000..c7078a8b27 --- /dev/null +++ b/boost/hof/detail/noexcept.hpp @@ -0,0 +1,19 @@ +/*============================================================================= + Copyright (c) 2016 Paul Fultz II + noexcept.hpp + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +==============================================================================*/ + +#ifndef BOOST_HOF_GUARD_DETAIL_NOEXCEPT_HPP +#define BOOST_HOF_GUARD_DETAIL_NOEXCEPT_HPP + +#include <boost/hof/config.hpp> + +#if BOOST_HOF_HAS_NOEXCEPT_DEDUCTION +#define BOOST_HOF_NOEXCEPT(...) noexcept(__VA_ARGS__) +#else +#define BOOST_HOF_NOEXCEPT(...) +#endif + +#endif |