Hello everybody!!

Right now, this will not compile:

 

struct Foo { int a, b; }
struct Bar : Foo { using Foo::Foo; }
auto bar = Bar{1, 2}; // ERROR
 

Which is confusing and unintuitive. This paper proposes an improvement to this behaviour.

https://seppeon.gitlab.io/cpp-proposals/inheritance-of-aggregate-initialization.html#_abstract

 

Regards,

David Ledger