accept @pure @nothrow @return attributes

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 26 09:32:25 PST 2015


On 26/01/2015 11:39, Jonathan M Davis via Digitalmars-d wrote:
> the increased visual
> noise definitely is not.

Being able to ignore things starting with @ is useful when reading 
function signatures:

@property const(T) @pure @nothrow foo(Arg arg, T bar) const ...

So @ can actually be signal rather than noise.


More information about the Digitalmars-d mailing list