P4222R1 — An initialization profile (R2)
Bjarne Stroustrup
EWGSG23
Revisions R1Jul 2026R0May 2026
The initialization profile should be the easiest to define, but there can be no profile that everybody can agree on without discussion and alternative choices. Also, the rules for initialization and uninitialized memory are far more complex than most people are willing to believe. The initialization profile is foundational to just about every profile, so the initialization profile must isolate those unmanageable complexities, leaving “ordinary code” simple. Here is a definition with supporting discussion of alternatives and suggested resolutions.