Skip to content

expected::value_or is missing default template argument #12

Description

@mcencora

Without default template argument (U = std::remove_cv_t) following code will fail:

int main()
{
    zeus::expected<int, int> e;
    return e.value_or({});
}

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