5 Apr
2011
5 Apr
'11
3:46 p.m.
Robert Jones wrote:
On Tue, Apr 5, 2011 at 2:27 PM, Peter Dimov
wrote: using boost::lambda::bind;
should be a better choice.
Hello Peter
Yes, that was my first thought too. But this code still has ambiguity issues.
Yes, you're right, it has. Since boost::function is in namespace boost, the compiler still finds boost::bind via argument-dependent lookup. I'm afraid that you'll have to qualify the ambiguous bind: namespace ll = boost::lambda; ll::bind( my_sum, ... );