Subject: Re: [boost] phoenix::bind
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-10-02 18:35:19
Steven Watanabe wrote:
> 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
> Here is a reduced test case
Fixed. Thanks again, Steven.
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk