Details
-
Bug
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Service Arch
-
ALL
Description
The `_storage` member of StaticImmortal is raw memory that is treated as a live T value, via reinterpret_cast or placement new. Situations like this technically require a std::launder in C++17 to disable harmful compiler optimizations.