boostorg / boostorg/safe_numerics
Include <exception> for std::terminate
Open
- Dominant language
- C++
- Stars
- 222
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
The header `checked_result_operations.hpp` calls `std::terminate` which is in `` but the latter is not included, causing compilation failures with clang 18 and libc++:
```
include/boost/safe_numerics/checked_result_operations.hpp:40:14: error: no member named 'terminate' in namespace 'std'; did you mean 'template'?
40 | std::terminate();
| ~~~~~^~~~~~~~~
| template
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.