After a recent discussion about designated initializers in C++, I
noticed that they are accepted by modern gcc (when gcc extensions are
enabled).

On <https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html>, the
documentation specifically says "This extension is not implemented in
GNU C++".  That certainly used to be the case - as far as I have tested,
it was implemented in gcc 4.6 or 4.7.

Could someone with commit access to the documentation fix that sentence?
 It seems a bit excessive to file a bug just for that correction.


(And thank you to who ever implemented designated initializers in C++ in
gcc - it is always irritating when there is something that C can do but
not C++.)


mvh.,

David

Reply via email to