template alias = parameter

Dicebot public at dicebot.lv
Tue Sep 17 04:46:06 PDT 2013


On Tuesday, 17 September 2013 at 11:43:24 UTC, Luís Marques wrote:
> These examples came from a set of experiments where I was 
> trying to do something which I expected would probably not be 
> possible: make a template function generate different code 1) 
> without varying the function types, 2) without explicitly 
> instantiating the template using "!". (this was for 
> compatibility purposes).

It should not be possible as template instances with same 
template parameter list share same body in code gen.


More information about the Digitalmars-d mailing list