rvalue types
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Mar 12 18:01:02 UTC 2018
On Mon, Mar 12, 2018 at 05:46:25PM +0000, Nick Treleaven via Digitalmars-d wrote:
> On Monday, 12 March 2018 at 16:51:06 UTC, H. S. Teoh wrote:
> > For example, today you can already make opBinary() return something
> > other than the parent type, and use alias this to make it decay to
> > the parent type.
>
> Sounds like this:
> https://en.wikipedia.org/wiki/Expression_templates
Yep, pretty much.
T
--
I'm still trying to find a pun for "punishment"...
More information about the Digitalmars-d
mailing list