News for hackers. Stuff that matters.
Re:Initialization in C++ is Seriously Bonkers by AnimalMuppet on Saturday January 05, 2019 @03:06PM (#18833904)
The optimal code for const int i = 0; is for the compiler to inline its uses, and for there never to be any storage allocated at all.

;-)

Re:Initialization in C++ is Seriously Bonkers by comex on Saturday January 05, 2019 @06:05PM (#18834918)
That works unless you use &i somewhere.