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

[dcl.init.aggr]/1 Aggregate only cares about direct base classes CWG2610 #5634

Closed
wants to merge 1 commit into from

Conversation

languagelawyer
Copy link
Contributor

Fixes cplusplus/CWG#101
See also #2892

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.

I think indirect virtual base classes may be a problem (they have global constructor effects). Agreed with the private/protected changes.

@jensmaurer
Copy link
Member

This looks good to me now.

@hubert-reinterpretcast , please have a final look.

@hubert-reinterpretcast
Copy link
Contributor

This looks good to me now.

@hubert-reinterpretcast , please have a final look.

It's good enough. I have a mild preference for repeating "virtual" and reordering the bullets so that the two "no private or protected" bullets are grouped together.

Copy link
Contributor

@hubert-reinterpretcast hubert-reinterpretcast left a comment

Choose a reason for hiding this comment

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

LGTM; thanks!

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 18, 2022

@jensmaurer Does CWG consider this editorial? (Feel free to merge if so!)

@jensmaurer jensmaurer added cwg Issue must be reviewed by CWG. not-editorial Issue is not deemed editorial; the editorial issue is kept open for tracking. labels Aug 18, 2022
@jensmaurer
Copy link
Member

CWG2610

@jensmaurer jensmaurer changed the title [dcl.init.aggr]/1 Aggregate only cares about direct base classes [dcl.init.aggr]/1 Aggregate only cares about direct base classes CWG2610 Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cwg Issue must be reviewed by CWG. not-editorial Issue is not deemed editorial; the editorial issue is kept open for tracking.
Projects
None yet
4 participants