Boost logo

Boost Users :

From: Eduardo Bezerra (edubez_at_[hidden])
Date: 2004-06-17 11:28:01


I need to use boost::function in a context like this one:

struct Widget {
    string ToString() {return "Widget"; }

int main()
    function<string () f(&Widget::ToString);

What's the correct syntax to sucessfully compile this example ?

Best regards,

MSN Messenger: instale grátis e converse com seus amigos.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at