Skip to content

Should expected<T,E> be convertible from E when E it is not convertible to T? #13

Description

@viboes

The implicit conversion from E has been forbidden to avoid ambiguity when E and T are the same type.
However when E it is not convertible to T there wouldn’t any ambiguity.

Should the implicit conversion be allowed in this case?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions