[Bug c++/71985] narrowing in initializer lists is not ill-formed where required

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 24 15:36:00 GMT 2016


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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
What I suggested was that there is no backwards compatibility issue for C++03
code if the initialization creates a std::initializer_list. I was very
specifically talking about std::initializer_list not initializer lists in
general.

I also pointed out that there is no "clear requirement" for an error because
the standard only requires a diagnostic and a warning is a diagnostic.


More information about the Gcc-bugs mailing list