Would love to override default ctor of struct

aliak something at something.com
Tue Jan 22 09:43:58 UTC 2019


On Tuesday, 22 January 2019 at 03:36:31 UTC, Neia Neutuladh wrote:
> 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.

lol. True.


More information about the Digitalmars-d mailing list