[Issue 21065] the new operator should lower to a template function call in object.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 23 03:51:46 UTC 2020


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

--- Comment #4 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to Mathias LANG from comment #3)
> TL;DR: If you want to forward to an overload set, do it by exposing an
> overload set.

Cool, I'm convinced. Overload set inside a template using the eponymous trick
is the way to go. Thanks!

--


More information about the Digitalmars-d-bugs mailing list