Hi, I try to use boost::lambda in the following function: string build_headers(shared_ptr<connection> conn, vector<wstring> headers) { if (headers.empty()) return ""; return accumulate(++headers.begin(), headers.end(), string(1, '\'') + conn->quote(headers[0]) + '\'', (_1 + ", '" + bind(&connection::quote, var(conn), _2) + '\'')); } and wisual studio gives me the following error message error C2664: 'boost::lambda::bind' : cannot convert parameter 1 from 'overloaded-function' to 'SOCKET' 1> Context does not allow for disambiguation of overloaded function Could anybody help me decypher this message? What is this 'SOCKET' and how does it come into the picture? Thanks ImRe
participants (1)
-
Imre Palik