Using mixin templates for operator overloading.

Balagopal Komarath via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 20 04:57:05 PDT 2017


On Saturday, 19 August 2017 at 10:16:18 UTC, Balagopal Komarath 
wrote:
> Let us say I want to automatically define subtraction given 
> that addition and negation are defined. I tried the following 
> using mixin templates...

I assume there is no way to do this?



More information about the Digitalmars-d-learn mailing list