
20 Feb
2004
20 Feb
'04
11:48 a.m.
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