Skip to content
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

[namespace.udecl]p16 references nonexistent "implicit this parameter" #1975

Closed
timsong-cpp opened this issue Mar 23, 2018 · 1 comment
Closed
Assignees

Comments

@timsong-cpp
Copy link
Contributor

timsong-cpp commented Mar 23, 2018

In particular, the implicit this parameter shall be treated as if it were a pointer to the derived class rather than to the base class.

The name is "implicit object parameter", not "implicit this parameter", and it's a reference, not a pointer. See [over.match.funcs]p4. There also appears to be some normative duplication and contradiction between these two paragraphs as [namespace.udecl]p16 contains no exception for conversion functions.

@jensmaurer
Copy link
Member

jensmaurer commented Mar 23, 2018

We should turn the entire paragraph into a note; there's nothing said here that isn't also said elsewhere, except for the "constructor" part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants