Boost logo

Boost :

From: Jim Apple (japple_at_[hidden])
Date: 2004-02-20 01:24:06

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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at