Title
mem-initializers for virtual bases of abstract classes
Status
nad
Section
11.9.3 [class.base.init]
Submitter
Vinny Romano

Created on 2015-06-06.00:00:00 last changed 111 months ago

Messages

Date: 2015-10-15.00:00:00

Rationale (October, 2015):

The fact that “ignored” applies only to runtime effects is indicated by the phrase “during execution” in the existing wording. This seems clear enough.

Date: 2022-11-20.07:54:16

According to 11.9.3 [class.base.init] paragraph 7,

A mem-initializer where the mem-initializer-id denotes a virtual base class is ignored during execution of a constructor of any class that is not the most derived class.

Presumably “ignored” here means that there will be no runtime effect but that semantic restrictions such as access checking and the ODR must still be applied, but this is not completely clear.

History
Date User Action Args
2015-11-10 00:00:00adminsetmessages: + msg5981
2015-06-06 00:00:00admincreate