Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-02-20 06:48:52


Jim Apple wrote:
> IN Section 14 of the FC++ boost doc, I find the example:
>
> oid g( std::string s, int x );
> void h( fcpp::fun0<void> f );
>
> fcpp::fun1<int,void> f =
> lambda(X)[ ptr_to_fun(h)[
> lambda()[ ptr_to_fun(g)[ std::string("hi"), X ]
> ] ] ];
>
> Does anyone know how to do this with bind or lambda?

Not possible, see the original thread here:

http://thread.gmane.org/gmane.comp.lib.boost.devel/23298
http://thread.gmane.org/gmane.comp.lib.boost.devel/23479
http://thread.gmane.org/gmane.comp.lib.boost.devel/23569

--
Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk