Skip to content

Should expected<T,E> throw E instead of bad_expected_access<E>? #12

@viboes

Description

@viboes

As any type can be thrown as an exception, should expected<T,E> throw E instead of bad_expected_access<E>?

If yes, should optional<T> throw nullopt_t to be coherent?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions