Skip to content

Make a const equivalent of subtle::CtOption #422

Description

@fjarri

Since for the time being subtle does not work in const context (until const traits are stabilized), we cannot use CtOption to denote optional results. This leads to returning tuples (Uint, CtChoice) which are prone to misuse.

We should implement an analogue of CtOption (ConstCtOption?) that works in const fn contexts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions