Associative array references

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Mon Dec 2 19:14:33 PST 2013


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


More information about the Digitalmars-d-learn mailing list