-
Notifications
You must be signed in to change notification settings - Fork 771
P2533R0 Core Language Working Group "ready" #5287
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
Conversation
45b8ed7
to
e941a31
Compare
\end{itemize} | ||
|
||
\pnum | ||
A conversion function shall have no non-object parameters and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The core issue doesn't include "non-object".
I suppose you added it to account for explicit object parameters.
Is that really enough? No need to restrict it to an explicit object parameter, but any amount of non-object parameters is OK? Is there wording elsewhere that make these cases ill-formed, and thus saying "non-object" is enough?
How about the function type specified below? Does it need a revision, too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the paper misrepresents the status quo? So tihs seems like a "plausible merge".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A conversion function with an explicit this parameter seems plausible, but there must not be other parameters. Further cleanup (if any) should be in a separate editorial or core issue.
Fixes #5257
Fixes #4843
Fixes #2338
Fixes cplusplus/papers#1196