Skip to content

[expected.object.monadic] Add typename between is_same_v<U​::​error_type, E> #8177

@EienMiku

Description

@EienMiku

Mandates: U is a specialization of expected and is_same_v<U​::​error_type, E> is true.

Though U::error_type is obviously a type, typename is necessary.

is_same_v<U​::​error_type, E> should be is_same_v<typename U​::​error_type, E>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions