[Issue 24046] static destructors should be allowed in function bodies
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 14 09:55:15 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24046
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
Maybe an alternative would be for the compiler to automatically call the
destructor of all static variables once the program ends.
--
More information about the Digitalmars-d-bugs
mailing list