Problem with overloading template functions

Sean Kelly sean at f4.ca
Fri Sep 21 21:05:44 PDT 2007


Sean Kelly wrote:
> 
> I would expect to see:
> 
>     proc:T
>     proc:T[]
> 
> Because proc:T[] is more specialized and thus should be preferred for 
> the second call.  Instead, it prints:
> 
>     proc:T
>     proc:T[]

Er, I meant that it prints:

     proc:T
     proc:T


Sean


More information about the Digitalmars-d-bugs mailing list