On Friday, 5 February 2016 at 10:54:27 UTC, Robert M. Münch wrote:
From the docs:class A { } class B : A { } class C : B { } void foo(A); void foo(B); [...]
sounds like foo should just be a method in the class rather than a free function
Nicholas Wilson via Digitalmars-d-learn Fri, 05 Feb 2016 03:16:15 -0800
On Friday, 5 February 2016 at 10:54:27 UTC, Robert M. Münch wrote:
From the docs:class A { } class B : A { } class C : B { } void foo(A); void foo(B); [...]
sounds like foo should just be a method in the class rather than a free function