Default Template Instantiation
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Mon Sep 19 14:14:38 PDT 2016
On Monday, 19 September 2016 at 21:09:37 UTC, Jonathan Marler
wrote:
>
> I don't know if I would call this a "destabalizing" language
> change though. It should be backwards compatible with the
> existing semantics. It adds an extra step to type deduction,
> but this would be the very last step of type deduction so it
> would not override any existing semantics.
Consider void functionOrTemplate() {...} and
functionOrTemplate(uint N = 1)() {...}
More information about the Digitalmars-d
mailing list