Big struct/class and T.init

Steven Schveighoffer schveiguy at
Sun Feb 19 18:29:05 UTC 2023

On 2/19/23 1:26 PM, Steven Schveighoffer wrote:

> Testing with, switching between `char` and `int` changes 
> the ASM output to show whether it's stored or not.

And BTW, you can override this by assigning a zero default:

struct S
     char[16384] array = 0; // no .init storage


More information about the Digitalmars-d-learn mailing list