Associative array references

Atila Neves atila.neves at gmail.com
Tue Dec 3 01:30:32 PST 2013


On Tuesday, 3 December 2013 at 03:14:46 UTC, Jesse Phillips wrote:
> On Monday, 2 December 2013 at 13:30:44 UTC, Atila Neves wrote:
>> It seems that assigning an AA to another makes both point at 
>> the same data only if the first array has data to begin with. 
>> Is that the expected behaviour?
>>
>> Atila
>
> You've been hit by the null associative array not being the 
> same as an empty associative array. See discussion:
>
> http://forum.dlang.org/post/wovnuggqtscsbgnjcpua@forum.dlang.org

Sigh. If at least there was a way to declare them empty...


More information about the Digitalmars-d-learn mailing list