[Issue 24510] Perfect forwarding and explicit move should be compiler intrinsic and have operators

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 17 11:46:05 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24510

kinke <kinke at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #1 from kinke <kinke at gmx.net> ---
I agree that these should be intrinsics, mainly because the compiler can handle
this much much more efficiently than the template bloat of the current library
implementations. But I don't think we need new ugly operators for that, simply
keeping the self-explanatory `move` and `forward` names.

--


More information about the Digitalmars-d-bugs mailing list