"default" keyword as function attribute

jmh530 via Digitalmars-d digitalmars-d at puremagic.com
Sat Mar 19 11:15:54 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

That seems like a risky proposition. What if you mark some 
templates nogc to prevent inference on that. Then a future change 
causes an allocation. I would want to be notified.


More information about the Digitalmars-d mailing list