Overloading free functions & run-time dispatch based on parameter types

Robert M. Münch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 5 05:35:26 PST 2016


On 2016-02-05 11:10:36 +0000, Nicholas Wilson said:

> sounds like foo should just be a method in the class rather than a free 
> function

In my particular case I want to keep some stuff outside of claases.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list