dmd 1.074 and 2.059 release
Nick Sabalausky
SeeWebsiteToContactMe at semitwist.com
Fri Apr 13 14:10:24 PDT 2012
"Adam D. Ruppe" <destructionator at gmail.com> wrote in message
news:oznqhjdcwecwmjmycide at forum.dlang.org...
> "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.
>
Must be time for a party!
>
> This kind of thing makes me thing we should have opposites:
> impure, maythrow, mutable, and @system. And virtual, while
> I'm at it.
>
My bikeshed is painted:
!pure
!nothrow
!const
> 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 like it.
More information about the Digitalmars-d-announce
mailing list