dmd 1.074 and 2.059 release
Alex Rønne Petersen
xtzgzorex at gmail.com
Fri Apr 13 10:15:04 PDT 2012
On 13-04-2012 18:47, Adam D. Ruppe wrote:
> "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.
I agree wholeheartedly...
--
- Alex
More information about the Digitalmars-d-announce
mailing list