"default" keyword as function attribute

tsbockman via Digitalmars-d digitalmars-d at puremagic.com
Sat Mar 19 15:02:55 PDT 2016


On Saturday, 19 March 2016 at 15:09:00 UTC, Jakob Ovrum wrote:
> Maybe an alternative would be to simply ignore explicit 
> attributes on templated functions, or at least ignore 
> attributes on them applied with `attr:` or `attr { … }`. This 
> could be a problem for `@trusted`.

Please, no. Bulk application of attributes is very useful for 
templates, just like for regular code.


More information about the Digitalmars-d mailing list