Surprising behavior of variant with is_constructible, is_assignable and is_convertible traits
Open
- Dominant language
- C++
- Stars
- 47
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.