Stupid question about AA. The following code works but I don't undrstand why?!

Uranuz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 10 00:40:53 PDT 2016


On Saturday, 9 April 2016 at 21:16:08 UTC, ag0aep6g wrote:
> On Saturday, 9 April 2016 at 19:31:31 UTC, Uranuz wrote:
>> I think that we need to add warning about such case in 
>> documentation section:
>> https://dlang.org/spec/hash-map.html#construction_and_ref_semantic
>>
>> in order to prevent this kind of mistakes in code.
>
> Isn't that exactly what the section you linked does?

Yes certainly. But maybe we should give just a little more 
example there.


More information about the Digitalmars-d-learn mailing list