-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[expr.pre] p3 "operators that are overloaded" is not a defined term #6190
Comments
I think this shorter form is OK:
|
But, the built-in operators for built-in types are not considered to be operator functions. [over.built] p1
|
Yes, this is exactly the reason why I suggested the shorter form. I think the sentence should just mean that the effects of built-in operators are covered in [expr.compound]. |
"when no operator function is selected" could imply this meaning: there is no viable operator function. However, the built-in types do not have operator functions. |
[expr.pre] p3 says
We just say a function operator implements an operator, as per [over.oper.general] p1. We didn't define "an operator is/is not overloaded". If a class type does not have any user-defined function operator/template, is it? Moreover, [over.match.oper] p1 says
So, [expr.pre] p3 can be changed to
This is concise and clear.
The text was updated successfully, but these errors were encountered: