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 };
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