Mixin Templates and Operators

francesco.andreetto francesco.andreetto97 at gmail.com
Tue Apr 12 07:49:57 UTC 2022


On Wednesday, 6 April 2022 at 16:36:51 UTC, Tejas wrote:

> Looks like a compiler bug, since substituting the real methods 
> makes the `mixin template` code compile fine

Hi Tejas,
Thank you very much for your answer!

> Also, remove the `const`, otherwise the method will word only 
> on `const` instances even if the bug gets fixed

And thank you for this advice: I'll definitely remove the `const`!

FA


More information about the Digitalmars-d-learn mailing list