accept @pure @nothrow @return attributes

Artur Skawina via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 26 13:45:31 PST 2015


On 01/26/15 20:43, Walter Bright via Digitalmars-d wrote:
> On 1/26/2015 8:13 AM, Foo wrote:
>> You could do the same as C++ with override and final: they are only valid
>> attributes if they appear _after_ the function/method. Elsewhere they are still
>> valid as identifiers for e.g. variables.
> 
> Just 'no' on context-sensitive tokens.

C. C++. D. Windows. Pascal. System. exit. success. failure.

artur


More information about the Digitalmars-d mailing list