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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's allowed by Annex B in the standard (although I don't see specific mention
of a suggested minimum for the number of initializers in a braced-init-list):

Because computers are finite, C++ implementations are inevitably limited in the
size of the programs
they can successfully process. Every implementation shall document those
limitations where known. This
documentation may cite fixed limits where they exist, say how to compute
variable limits as a function of
available resources, or say that fixed limits do not exist or are unknown.

Reply via email to