[Issue 24425] @standalone attribute should be usable on thread-local static constructors and all static destructors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 1 03:36:43 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24425
--- Comment #1 from Steven Schveighoffer <schveiguy at gmail.com> ---
Static destructors can also benefit from being marked standalone, though the
use case isn't as compelling. However, there is no reason to disallow it. A
standalone destructor would be run last when sorting ctors/dtors (this
naturally already happens).
--
More information about the Digitalmars-d-bugs
mailing list