[Issue 20881] [DIP1000] Templates seem to ignore 'return' (workaround)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 7 11:42:26 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20881
--- Comment #4 from Stanislav Blinov <stanislav.blinov at gmail.com> ---
(In reply to ag0aep6g from comment #3)
> Please show an example. When I tried returning a problematic pointer, DMD
> showed the same error as in the `Correct` case.
? malloc it in a constructor, free it in a destructor, disable copy and
assignment
--
More information about the Digitalmars-d-bugs
mailing list