[Bug libstdc++/92057] variant converting constructor fails for primitives

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 14 22:41:00 GMT 2019


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

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It does. The array initialization uses a braced-init-list, which is the context
in which narrowing conversions are diagnosed.

Please take this to stackoverflow if you're unclear what the change entails.
There is no bug in GCC here.


More information about the Gcc-bugs mailing list