What is an ANNOTATION?

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Wed Nov 11 03:08:43 PST 2009


Lars T. Kyllingstad wrote:
> So, it seems that @annotations will become a part of D. But which of the 
> existing attributes should become annotations, and which should remain 
> as they are? What is the rule for determining whether a new feature 
> should be introduced in terms of annotations?
> 
>   @safe @pure @nothrow @immutable int foo() { ... }
> 
> -Lars


Sorry, bit of a typo in the message subject there. ;)

-Lars



More information about the Digitalmars-d mailing list