public class MyClass(TStuff)
{
public void foo(TStuff item)
{}
public void foo(TRange)(TRange items)
if (isInputRange!TRange && is(ElementType!TRange == TStuff))
{}
}
void main(string[] argv)
{
MyClass!int instance = new MyClass!int();
return;
}
but if i rename one of the "foo" overloads then code will be
compiled.
