Re: Build It And They Will Not Come

2015-09-11 Thread Bill Baxter via Digitalmars-d-announce
To be fair, wasn't the movie talking about dead baseball player ghosts coming? For people to take that example and apply it to other endeavors in life is a bit ridiculous. But maybe I'm misremembering. Saw it a long time ago. On Sep 11, 2015 4:00 AM, "Chris via Digitalmars-d-announce" <

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

2015-09-11 Thread Kagamin via Digitalmars-d-announce
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?

Re: Russian-speaking community

2015-09-11 Thread drug via Digitalmars-d-announce
http://dlanguage.ru/viewtopic.php?id=58

Re: Beta D 2.068.2-b1

2015-09-11 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 10 Sep 2015 05:37:48 +0200 schrieb Martin Nowak : > Due to a regression in 2.068.1 we'll directly follow up with an > unplanned point release 2.068.2. > This is the beta for that point release. > > http://downloads.dlang.org/pre-releases/2.x/2.068.2/ > >

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

2015-09-11 Thread rcorre via Digitalmars-d-announce
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

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

2015-09-11 Thread rcorre via Digitalmars-d-announce
On Friday, 11 September 2015 at 04:30:31 UTC, SimonN wrote: Since I have been using "ref val" in the first loop, I expected the output to be instead: e1: 101 e2: 102 e3: 103 e1: 104 e2: 105 e3: 106 -- Simon Yep, as I was looking at the constness thing, I realized