Reducing template constraint verbosity? [was Re: Slides from my ACCU Silicon Valley talk]

David Nadlinger see at klickverbot.at
Wed Dec 15 11:04:11 PST 2010


On 12/15/10 7:57 PM, Jonathan M Davis wrote:
> By the way, what does IFTI stand for?

Implicit Function Template Instantiation, which allows you to do »void 
foo(T)(T bar) {}; foo(5);« without manually specifying the template 
parameter.

David



More information about the Digitalmars-d mailing list