Boost logo

Boost :

From: Nico Massi (desertswat_at_[hidden])
Date: 2004-06-26 12:06:45


Hi,

Is it possible to store a boost::bind?

boost::bind<int> x( f, _1, _2 );
int i = x( 3, 4 );

I get errors if i want to declare a variable of type boost::bind.
The point is:
        
I want to have an object that gets a boost::bind, stores it and executes
it with
the correct values to the time i want.
How can i do this?

Ciao


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