|
Boost : |
From: Terence Wilson (tez_at_[hidden])
Date: 2003-05-02 22:33:46
I have the following code:
int val
std::vector<std::string> ThingVec;
std::for_each(ThingVec.begin(), ThingVec.end(), boost::bind(foo, val,
_1));
When foo has no overloads it compiles, otherwise I get a raft of compile
errors from VC++ .Net 2003. Is there a way to explicity state the
correct overload? Can bind handle overloaded functions?
TIA
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk