C++ Logo

std-proposals

Advanced search

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

From: Bjorn Reese <breese_at_[hidden]>
Date: Sun, 7 Apr 2024 17:26:22 +0200
Should the following work?

   template <typename T> struct A { T a; };
   template <typename T> struct B : A<T> { T a; };
   B<int> b{ .a = 1, .a = 2 };

Received on 2024-04-07 15:26:26