Quick Q: std::bind overload resolution

Save to:
Instapaper Pocket Readability

Quick A: the type of the function must be explicit.

Recently on SO:

std::bind overload resolution

You need a cast to disambiguate the overloaded function:

(int(A::*)(int,int))&A::operator()

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.