Skip to content

apex::optional does not match the C++20 standard regarding trivial values  #11

@bruxisma

Description

@bruxisma

Due to lack of C++20 features in Clang 10 (not the devs fault, it's just not implemented or available yet) we do not correctly handle trivial destructors, trivial assignment, and trivial copy and move constructors. Fixing this behavior will require a large refactor, as it means placing all possible trivial states into a base class.

We can then 'undo' this refactor once proper C++20 support is available to us.

Metadata

Metadata

Assignees

Labels

type: bugcode to address defects in shipped code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions