templating opEquals/opCmp (e.g. for DSL/expression templates)

Jonathan M Davis newsgroup.d at jmdavisprog.com
Tue Feb 12 12:35:50 UTC 2019


On Tuesday, February 12, 2019 4:35:28 AM MST Nicholas Wilson via 
Digitalmars-d wrote:
> On Tuesday, 12 February 2019 at 10:37:22 UTC, Jonathan M Davis
> wrote:
> > Either way, I think that Walter has made it pretty clear that
> > overloaded operators are not intended for stuff like DSLs or
> > expression templates, and if you try to alter overloaded
> > operators to make them work better for expression templates or
> > the like, I would fully expect him to veto it.
>
> Link?

He's said as much on several occasions over the years, but here's a link to
one such comment:

https://forum.dlang.org/post/nsffdd$1h6m$1@digitalmars.com

- Jonathan M Davis





More information about the Digitalmars-d mailing list