On Friday, 14 March 2014 at 07:06:53 UTC, Andrei Alexandrescu wrote:
Also we do need a means to negate others, too.

Andrei

I was going to ask "how many others" are there, but I came up with this list myself. Probably incomplete:

static
const/immtable (no "mutable") keyword
pure
nothrow

To a certain extent, there's also @safe/@system, in the sense that it might make sense to "negate" them, rather than "override" them with another keyword.

Still, when writing something like:
class A
{
@system nothrow:

    !nothrow
    !@system
    void foo();
}

I really reads awful: "not nothrow"/"not system"?

Reply via email to