You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code snippet (to my knowledge) should be rejected because the overload resolution can't cope with the ambiguity of which operator() to call. This ambiguity is described in [class.member.lookup] section of the C++ standard.