[Issue 21622] pragma(crt_constructor) accepts functions that return non-POD types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 9 09:46:19 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21622
Mathias LANG <pro.mathias.lang at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pro.mathias.lang at gmail.com
--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Shouldn't it just return nothing ? While there's no reason to prevent returning
an `int`, there's no reason to allow it, either.
--
More information about the Digitalmars-d-bugs
mailing list