On Friday, 11 September 2015 at 08:22:20 UTC, Kagamin wrote:
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?

Correct, the parameter should be passed by ref in that example. Good catch!

Reply via email to