Skip to content

Surprising behavior of variant with is_constructible, is_assignable and is_convertible traits  #102

@eido79

Description

@eido79

is_constructible, is_assignable and is_convertible return surprising result under some conditions, suggesting that a variant might be "compatible" with a certain type, while it is, in fact, not.

See https://godbolt.org/z/zzG8WaKP8 for a minimal example.

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