Eliminating code duplication for static/nonstatic functions

Jacob Carlborg doob at me.com
Thu Sep 19 12:35:36 PDT 2013


On 2013-09-19 19:20, Andrej Mitrovic wrote:

> opDispatch comes to mind. You'd only need two of them, one marked static
> and the other one not.

You cannot overload on "static".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list