|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net