ThePhD / future_cxx

Work done today for the glory of tomorrow - or, C and C++ systems programming papers.
https://thephd.dev/portfolio/standard
46 stars 8 forks source link

Editorial issue: terms "empty initialization" and "default initialization" in C23 working draft #59

Closed frederick-vs-ja closed 1 year ago

frederick-vs-ja commented 2 years ago

The formal definition of term default initialization is introduced by N3042. But its meaning is largely different from that of default-initialization in C++ (AFAIK it's essentially consistent with value-initialization or zero-initialization in C++). On the other hand, the term empty initialization is introduced by N2900 but unused.

I think it would be confusing if one find that "default initialization" in C is generally not "default-initialization" in C++. Can we just use "empty initialization" (or alternatively, "zero initialization") for description of such initialization?

Perhaps this repo is not a good place for submitting editorial issue, but I failed to find how to submit editorial issue for C.

ThePhD commented 2 years ago

Editorial issues for C can be sent by e-mailing the project editors on this page:

https://www.open-std.org/jtc1/sc22/wg14/www/contacts.html

(I am one of them.)

It is my intention, for C23, to rewrite how the initialization rules are spelled out and introduce better terminology. It might take some time, though; I have to be careful I change no behavior.

ThePhD commented 1 year ago

This is done.