On 4/19/2014 3:31 PM, Andrej Mitrovic via Digitalmars-d-learn wrote:
[...]
struct S
{
     int get()  { return 0; }
     T get(T)() { return T.init; }
}

void main()
{
     S s;
     float x = s.get();  // which overload? (currently int get())
}

Isn't this just because concrete methods are better overload candidates than method templates?

Dave

Reply via email to