Liste des Groupes | Revenir à cl c |
On Thu, 3 Apr 2025 15:05:59 +0200Ah, you're right: apparently, they still need to be placed in the order of declaration, which is a severe limitation in my book.
Opus <ifonly@youknew.org> wrote:
For instance, if I'm not mistaken,AFAIK, even C++23 provides only a subset of C99 designated initializers.
designated initializers, which are very handy and have been available
in C since C99 (25 years ago) have appeared only in C++20, about 20
years later.
>
The biggest difference is that in C++ initializers have to be
specified in the same order as declarations for respective fields.
Les messages affichés proviennent d'usenet.