From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2004-10-14 02:39:21
On Thu, 14 Oct 2004 02:32:32 +0200, Brian Riis <brian_at_[hidden]> 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'"
> /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??)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk