The post discusses the proposal to upgrade constant integer-typed object declarations that are initialized with constant expressions in C. The upgrade aims to make these declarations constant expressions and bring them in line with C++ standards. The proposal has been made in C23, and the post highlights the motivation, constraints, and potential benefits of the upgrade.

8m read timeFrom thephd.dev
Post cover image
Table of contents
Doing The “Obvious”, ObviouslyHow It WorksAll in All, Though?

Sort: