boostorg / boostorg/safe_numerics
How to handle non-continuous ranges?
Open
- Dominant language
- C++
- Stars
- 222
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to somehow include non-continuous ranges? For example. in computation, I'm using an `enum` (converted to its underlying type). The `enum` has a few possible values but the values do not form a continuous range. Of course, I could take the least range covering all possible values. But this would include more values than are truly possible and I'm afraid in some cases of complex computations it could impact the resulting range.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.