
2 Oct
2008
2 Oct
'08
10:35 p.m.
Steven Watanabe wrote:
AMDG
Peter Dimov wrote:
My original attempt:
lambda( _f = _1 )[ bind( _f, bind( _f, _1 ) ) ]
made sense to me, and I still don't understand why it doesn't work.
I think it ought to work and I think I understand why it doesn't work.
In the bind statement, if the function object is a reference it does not strip the reference off before accessing the nested ::template result<...>::type
Here is a reduced test case
Fixed. Thanks again, Steven. Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net