C ++ 03 $ 13.6 / 1- "[...] If there is a user candidate with the same name and parameter types as the built-in operator-operator-candidate, the built-in function of the operator is hidden and is not included in the set of candidate functions."
I am not sure about the intent of this quotation from the Standard. Is it possible to define a user-defined candidate function with the same name and type as the built-in operator?
eg. below, which is clearly wrong.
int operator+(int)
So what does this quote mean?
c ++ overload-resolution built-in candidate
Chubsdad
source share