Skip to content

operator== fails to compile if T is void #51

Description

@Crzyrndm

See https://godbolt.org/z/MvEoq4h7E

The std::expected docs for operator== cover this with the second overload I believe (T is void. No comparison is made against the "value")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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