Can not override template and nontemplate function

Dicebot public at dicebot.lv
Sat Aug 31 06:06:55 PDT 2013


On Saturday, 31 August 2013 at 12:53:17 UTC, ilya-stromberg wrote:
> On Saturday, 31 August 2013 at 12:19:17 UTC, monarch_dodra 
> wrote:
>> While we are at it, this is also the way to "force" attribute 
>> inference on a function.
>
> Can you print any code example, please?

AFAIK template function attributes are always inferred. So 
converting normal function to parameter-less template function 
forces it.


More information about the Digitalmars-d mailing list