mirror of
https://github.com/boostorg/move.git
synced 2025-08-02 05:44:25 +02:00
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:
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user