Mixin Templates and Operators
francesco.andreetto
francesco.andreetto97 at gmail.com
Tue Apr 12 07:56:02 UTC 2022
On Wednesday, 6 April 2022 at 17:33:28 UTC, Steven Schveighoffer
wrote:
> As I mentioned elsewhere, it does work. But the situation I
> think must be that it's only one mixin template. Probably also
> you can't have any overloads in the type itself.
>
> Note that I also think string mixins would work perfectly fine.
> And UFCS will never work for operator overloads, but that is by
> design.
>
> -Steve
Hello Steve,
Thank you very much for your answers, you have been very clear
and helpful!
-FA
More information about the Digitalmars-d-learn
mailing list