How can I dump an expression into log and execute it

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 14 08:13:20 PDT 2014


On 07/14/2014 11:55 AM, Dicebot wrote:
> I must admit D is far from perfect in that regard because operator
> overloading is still not limited enough

There is no real point in limiting it at all. It is just a matter of 
naming your functions properly.

auto subtract(int a, int b){ return a+b; }


More information about the Digitalmars-d mailing list