Eliminating code duplication for static/nonstatic functions

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Sep 19 13:03:39 PDT 2013


On 9/19/13, Jacob Carlborg <doob at me.com> wrote:
> 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.

Sorry for the harsh response on my part, I wasn't in the mood 5
minutes ago. I shouldn't take it out on fellow D programmers.


More information about the Digitalmars-d mailing list