StaticImmortal needs some std::launder calls

XMLWordPrintableJSON

    • Server Programmability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None


      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.

            Assignee:
            Unassigned
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: