Ticket #5782: bind_function.patch
File bind_function.patch, 716 bytes (added by , 11 years ago) |
---|
-
bind/bind_function.hpp
36 36 > 37 37 inline 38 38 typename detail::expression::function_eval< 39 detail::function_ptr<1, RT, RT(*)(T0 &)>39 detail::function_ptr<1, RT, RT(*)(T0)> 40 40 , A0 41 41 >::type const 42 bind(RT(*f)(T0 &), A0 const & a0)42 bind(RT(*f)(T0), A0 const & a0) 43 43 { 44 typedef detail::function_ptr<1, RT, RT(*)(T0 &)> fp_type;44 typedef detail::function_ptr<1, RT, RT(*)(T0)> fp_type; 45 45 return detail::expression::function_eval<fp_type, A0>::make(fp_type(f), a0); 46 46 } 47 47