DIP23 Counter Proposal

Jacob Carlborg doob at me.com
Tue Feb 5 23:34:32 PST 2013


On 2013-02-06 04:43, Timon Gehr wrote:

> Yes, a function template. Note that functions overload against function
> templates.

Maybe I'm misunderstanding something there but since when? Example:

void foo () {}
void foo (T) (T t) {}

void main () {}

Error: template main.foo(T)(T t) conflicts with function main.foo at...

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list