boostorg / boostorg/safe_numerics
Typo in example?
Open
- Dominant language
- C++
- Stars
- 222
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
In https://github.com/boostorg/safe_numerics/blob/13ca3d6dd36db1aac2d6b5caca2c281d15c881ad/example/example84.cpp#L37 it says "we know that this cannot fail".
The example, before, has defined a safe_t and input_safe_t types... which are identical. I suspect the intention was to use loose_trap_policy in https://github.com/boostorg/safe_numerics/blob/13ca3d6dd36db1aac2d6b5caca2c281d15c881ad/example/example84.cpp#L24.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.