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) {