Skip to content

std::optional #3

Open
Open
@Tsche

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.

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