On Sun, 24 Aug 2014 11:56:42 +0000 nikki via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> Or should I use a class for that AtlasSpriteData? > reading about it I get the impression everytime I'll look up data > from that dictionary data will get copied ? this will copy: auto sd = dict[0]; this will copy: foreach (sd; dict) { ... } this will not: const *sd = &dict[0]; this will not: foreach (ref sd; dict) { ... } hope you got the idea.
signature.asc
Description: PGP signature