DIP23 Counter Proposal

deadalnix deadalnix at gmail.com
Wed Feb 6 00:07:24 PST 2013


On Wednesday, 6 February 2013 at 07:34:33 UTC, Jacob Carlborg 
wrote:
> 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...

That is dmd's implementation, but not what the spec says.


More information about the Digitalmars-d mailing list