Move BOOST_MOVE_HELPERS_RETURN_SFINAE_BROKEN to a more general header so that it can be used by other libraries like Intrusive

This commit is contained in:
Ion Gaztañaga
2015-10-17 09:38:38 +02:00
parent b79bb35b0f
commit 827f6de30e
2 changed files with 5 additions and 4 deletions

View File

@@ -332,6 +332,11 @@ struct eval_if
: if_<C,T1,T2>::type : if_<C,T1,T2>::type
{}; {};
#if defined(BOOST_GCC) && (BOOST_GCC <= 40000)
#define BOOST_MOVE_HELPERS_RETURN_SFINAE_BROKEN
#endif
template<class T, class U, class R = void> template<class T, class U, class R = void>
struct enable_if_convertible struct enable_if_convertible
: enable_if< is_convertible<T, U>, R> : enable_if< is_convertible<T, U>, R>

View File

@@ -36,10 +36,6 @@
#define BOOST_MOVE_CATCH_FWD(U) U && #define BOOST_MOVE_CATCH_FWD(U) U &&
#endif #endif
#if defined(BOOST_GCC) && (BOOST_GCC <= 40000)
#define BOOST_MOVE_HELPERS_RETURN_SFINAE_BROKEN
#endif
//////////////////////////////////////// ////////////////////////////////////////
// //
// BOOST_MOVE_CONVERSION_AWARE_CATCH // BOOST_MOVE_CONVERSION_AWARE_CATCH