|
Boost : |
Subject: Re: [boost] phoenix::bind
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-10-02 10:17:38
>> - \ \
>> double - /\ f . /\ x. f(f x)
>> - / \ / \
>
> lambda( _f = _1 )[ bind( _f, bind( _f, _1 ) ) ] ?
FWIW, the above doesn't work for me. What is the proper Phoenix way to
express this double lambda?
PS. <boost/function.hpp> and Phoenix don't play together on VC 7.1.
C:\boost\trunk\boost\spirit\home\phoenix\core\detail\function_eval.hpp(107)
: error C2027: use of undefined type 'boost::function'
C:\boost\trunk\boost\function\function_base.hpp(99) : see declaration of
'boost::function'
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk