Generic comparison operators
Open
- Dominant language
- C++
- Stars
- 47
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
It could be useful to have comparison operators with types that are held in variant. For example:
```
variant v1(1), v2("2");
if (v1 < 1 || v2 > "hello") {
// ...
}
if (v1 < 1.0) { // compilation error
// ...
}
```
Issue was imported from [Trac 10845](https://svn.boost.org/trac10/ticket/10845)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.