[Bug c++/85577] list-initialization chooses initializer-list constructor

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 6 20:52:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85577

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
To construct an A you'd need to add:

A() = default;

But this might actually be INVALID, due to Core DR 2137.

I'll look into it tomorrow.


More information about the Gcc-bugs mailing list