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


Hi,

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,
Eduardo

_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos.
http://messenger.msn.com.br