function_2.hpp 814 B

1234567891011121314151617181920212223
  1. /*
  2. Copyright (c) 2016 Barrett Adair
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
  5. HEADER GUARDS INTENTIONALLY OMITTED
  6. DO NOT INCLUDE THIS HEADER DIRECTLY
  7. */
  8. #define BOOST_CLBL_TRTS_NOEXCEPT_SPEC
  9. #define BOOST_CLBL_TRTS_IS_NOEXCEPT std::false_type
  10. #include <boost/callable_traits/detail/unguarded/function_3.hpp>
  11. #undef BOOST_CLBL_TRTS_NOEXCEPT_SPEC
  12. #undef BOOST_CLBL_TRTS_IS_NOEXCEPT
  13. #ifdef BOOST_CLBL_TRTS_ENABLE_NOEXCEPT_TYPES
  14. #define BOOST_CLBL_TRTS_NOEXCEPT_SPEC noexcept
  15. #define BOOST_CLBL_TRTS_IS_NOEXCEPT std::true_type
  16. #include <boost/callable_traits/detail/unguarded/function_3.hpp>
  17. #undef BOOST_CLBL_TRTS_NOEXCEPT_SPEC
  18. #undef BOOST_CLBL_TRTS_IS_NOEXCEPT
  19. #endif // #ifdef BOOST_CLBL_TRTS_ENABLE_NOEXCEPT_TYPES