C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Fixing Inheritance of Constructors from Aggregate bases

From: Bjorn Reese <breese_at_[hidden]>
Date: Tue, 9 Apr 2024 16:42:09 +0200
On 4/7/24 18:33, Barry Revzin wrote:

> If we're talking about my paper, then no it shouldn't work. But
> B<int>{.a=1} should and would initialize the A<int>::a subobject to 0
> and the direct B<int>::a to 1 (in the wording there, the A<int>::a
> subobject isn't a designatable member because b.a wouldn't name it).

My question was about David Ledger's proposal.

Received on 2024-04-09 14:42:13