
14 Oct
2004
14 Oct
'04
7:39 a.m.
On Thu, 14 Oct 2004 02:32:32 +0200, Brian Riis <brian@riis.as> wrote:
std::vector<myTuple>::iterator iter = std::find_if(v.begin(), v.end(), (bind(&myTuple::get<1>, _1) == id));
My compiler (MinGW-3.4.2) gives me an error message on that last line: "error: cannot resolve overloaded function `get' based on conversion to type `SOCKET'"
TIA -- /Brian Riis
Looking at the error message, it's thinking bind is part of the socket library (I get a similar thing from Intellisense in Visual Studio). You could try fully qualifying bind (::boost::lambda::bind??) Stuart Dootson