Message from C, C++ discussions

December 2019

— So, u have no evidence...


constinit - specifies that a variable must have static initialization, i.e. zero initialization and constant initialization, otherwise the program is ill-formed.

— Sorry, I was mistaken with other thing hahaha

— OK, I thought as much. It was wierd.

— But this remains true

— Jay don't do it

— Don't, it will get u banned

— Ok

— True 💯

When the const is removed in the above snippet, u can reassign to i. i =10;


[[gnu::a_very_uselless_attribute]] constinit const static auto i = 5;

The fun never stops.

— What I wanted to say is that constinit const = constexpr

— Wtf [[gnu::a_very_uselless_attribute]]?