From 4cfbfcedbac6d3a5823f5b7fddfeef9dfd82b1b8 Mon Sep 17 00:00:00 2001 From: John Fletcher Date: Sat, 20 Dec 2014 19:09:25 +0000 Subject: [PATCH] bind/bind_member_variable.hpp New version runs all tests using boost::lazy_disable_if to resolve overloading problems. --- .../boost/phoenix/bind/bind_member_variable.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/boost/phoenix/bind/bind_member_variable.hpp b/include/boost/phoenix/bind/bind_member_variable.hpp index 09d6ddb..5e594b5 100644 --- a/include/boost/phoenix/bind/bind_member_variable.hpp +++ b/include/boost/phoenix/bind/bind_member_variable.hpp @@ -17,12 +17,12 @@ namespace boost { namespace phoenix { template inline - typename boost::disable_if< - boost::is_member_function_pointer, + typename boost::lazy_disable_if< + boost::is_member_function_pointer, typename detail::expression::function_eval< detail::member_variable - , ClassA >::type - >::type const + , ClassA >//::type + >::type const bind(RT ClassT::*mp, ClassA const& obj) { typedef detail::member_variable mp_type; @@ -33,11 +33,11 @@ namespace boost { namespace phoenix template inline - typename boost::disable_if< - boost::is_member_function_pointer, + typename boost::lazy_disable_if< + boost::is_member_function_pointer, typename detail::expression::function_eval< detail::member_variable - , ClassT >::type + , ClassT >//::type >::type const bind(RT ClassT::*mp, ClassT& obj) {