Liste des Groupes | Revenir à cl c |
On Thu, 3 Apr 2025 15:05:59 +0200
Opus <ifonly@youknew.org> wrote:
>For instance, if I'm not mistaken,>
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.
AFAIK, even C++23 provides only a subset of C99 designated initializers.
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.