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

Add additional example to CWG2303 example to clarify meaning. #4089

Merged
merged 1 commit into from Oct 18, 2020

Conversation

erichkeane
Copy link

As discussed on the reflector, CWG2303 causes shadowing of a base class
when attempting deduction in the case where the type is a base of
another successful base class. This patch adds an example that
clarifies that intent.

As discussed on the reflector, CWG2303 causes shadowing of a base class
when attempting deduction in the case where the type is a base of
another successful base class.  This patch adds an example that
clarifies that intent.
Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example seems to be in line with the wording, and does highlight a slightly surprising outcome.

@zygoloid zygoloid added this to the C++23 milestone Sep 18, 2020
@zygoloid zygoloid merged commit 0d61aed into cplusplus:master Oct 18, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants