alexvitkov 1 day ago

This is not even worth thinking about, just type " = {}" on every struct/class member and every variable declaration, and forget about all this nonsense.

1
dataflow 1 day ago

That's a bad idea. It defeats tools (warnings, sanitizers, etc.) that try to tell you you have forgotten to place the semantically correct value in your variables.

If you want indiscriminate initialization, a compiler flag is the way, not forcing it in the source code.