Eliminating code duplication for static/nonstatic functions

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


On 2013-09-19 21:42, Andrej Mitrovic wrote:

> Can't you read the damn OP example? He's using a static if to
> introduce static/non-static functions, do the same for opDispatch and
> you'll cut down on code.

Right, sorry.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list