Would love to override default ctor of struct

Neia Neutuladh neia at ikeran.org
Tue Jan 22 03:36:31 UTC 2019


On Tue, 22 Jan 2019 01:18:24 +0000, aliak wrote:
>      t1.doTest(); // Prints "Address of arr: 7FFE1322A7E8"
>      t2.doTest(); // Prints "Address of arr: 7FFE1322A7F0"
>      t3.doTest(); // Prints "Address of arr: 7FFE1322A7F8"
> }
> 
> t1 and t2 have different addresses and t3 has t1's address?? Huh?\

E8 != F8.


More information about the Digitalmars-d mailing list