C++ Logo


Advanced search

[std-proposals] Static/constant-initialized allocations

From: Torben Thaysen <thaysentorben_at_[hidden]>
Date: Fri, 5 Aug 2022 12:09:52 +0200
Hello, I want to propose introducing statically initialized allocations to
C++. These allocations would be created by allowing the initializers of
constinit variables to leak allocations that then become accessible at
Several aspects need to be considered here including wherever these
allocations can be deleted and how this interacts with user replacements of
operator delete. For details see the draft here
Looking forward to your feedback!

Received on 2022-08-05 10:10:05