Using mixin templates for operator overloading.
Balagopal Komarath via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Aug 20 07:15:10 PDT 2017
On Sunday, 20 August 2017 at 12:46:59 UTC, Nicholas Wilson wrote:
> Did you try changing the `: "+"` constraints to `if`
> constraints?
Yes. Yields the same result as this.
More information about the Digitalmars-d-learn
mailing list