Boost logo

Boost :

Subject: Re: [boost] phoenix::bind
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-10-02 12:39:01


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

Thanks Steven! I'm in a crashed state now. I'll look into it
tomorrow.

( Wow, such intelligent people. Amazing! I'm honestly overwhelmed :P )

Regards,

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