1
0
forked from boostorg/bind

Fix nullary member function case

This commit is contained in:
Peter Dimov
2017-11-05 20:27:37 +02:00
parent ddfaa05ae4
commit 05a56f08e3

View File

@@ -2292,6 +2292,15 @@ template< class R, class T > struct add_cref< R (T::*) () const, 1 >
typedef void type;
};
#ifdef __cpp_noexcept_function_type
template< class R, class T > struct add_cref< R (T::*) () const noexcept, 1 >
{
typedef void type;
};
#endif // __cpp_noexcept_function_type
#endif // __IBMCPP__
template<class R> struct isref