dmd 1.074 and 2.059 release
Adam D. Ruppe
destructionator at gmail.com
Fri Apr 13 09:47:08 PDT 2012
"Strive to make toHash, toString, opEquals and opCmp
functions pure, nothrow, const and @safe. Soon, this will
become a requirement."
man, that's a lot of decorations.
This kind of thing makes me thing we should have opposites:
impure, maythrow, mutable, and @system. And virtual, while
I'm at it.
Then it might be a lil easier to just go
module lots.of.decorations;
pure:
const:
@safe:
nothrow:
and undecorate as needed. We seem to be moving in this
kind of direction.
More information about the Digitalmars-d-announce
mailing list