Skip to content

std::optional #3

Description

@Tsche

By annotating tombstones or validation functions, a zero-overhead optional is possible. This is worth exploring.

Additionally if an optional is only ever used in constant-evaluated context, we can check if the optional is engaged by checking if the value-holding member of the underlying union is the active member.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions