Skip to content

Use std::launder in cases where we 'place' objects in memory we allocate #2037

@Dr15Jones

Description

@Dr15Jones

Description

The C++ standard says using std::reinterpret_cast on a memory allocated as a different type is undefined behavior. Must use std::launder as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ObjectiveMain unit in planning, consists of one or more Tasks and/or Aspects

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions