All function attributes possible with "@"?

aberba via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 14 12:38:05 PST 2016


On Wednesday, 14 December 2016 at 19:22:12 UTC, 01010100b wrote:
> On Wednesday, 14 December 2016 at 03:49:23 UTC, Jonathan M 
> Davis wrote:

>> Also, would you even allow @ on stuff like static or const?
>
> Why not?
>
Really?

>
> @pure @final @nogc func();
> @final class G{}
@@@@@@@@@@@@@@@@@@@@@@

And, "final" is not a D only thing



More information about the Digitalmars-d mailing list