From 070185914d721e8bc67e9585f4a33b963d67b741 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 15 Dec 2017 17:25:22 +0200 Subject: [PATCH] Update for VS2017.5 --- include/boost/bind/bind.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/bind/bind.hpp b/include/boost/bind/bind.hpp index 1ccbc73..4cedc5e 100644 --- a/include/boost/bind/bind.hpp +++ b/include/boost/bind/bind.hpp @@ -2126,7 +2126,7 @@ template -# ifdef __cpp_noexcept_function_type +# if defined( __cpp_noexcept_function_type ) || defined( _NOEXCEPT_TYPES_SUPPORTED ) # undef BOOST_BIND_NOEXCEPT # define BOOST_BIND_NOEXCEPT noexcept # include @@ -2187,7 +2187,7 @@ template #include -# ifdef __cpp_noexcept_function_type +# if defined( __cpp_noexcept_function_type ) || defined( _NOEXCEPT_TYPES_SUPPORTED ) # undef BOOST_BIND_MF_NOEXCEPT # define BOOST_BIND_MF_NOEXCEPT noexcept # include @@ -2292,7 +2292,7 @@ template< class R, class T > struct add_cref< R (T::*) () const, 1 > typedef void type; }; -#ifdef __cpp_noexcept_function_type +#if defined( __cpp_noexcept_function_type ) || defined( _NOEXCEPT_TYPES_SUPPORTED ) template< class R, class T > struct add_cref< R (T::*) () const noexcept, 1 > {