Enumap -- a lightweight AA alternative when your keys are enums

Kagamin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Sep 11 01:22:18 PDT 2015


On Friday, 11 September 2015 at 02:17:25 UTC, rcorre wrote:
> @nogc void donFancyHat(Enumap!(Attribute, int) map) { 
> map.charisma += 1; }

BTW, what this means? Isn't Enumap a value type?


More information about the Digitalmars-d-announce mailing list