boostorg / boostorg/safe_numerics
implement safe version of operator?
Open
- Dominant language
- C++
- Stars
- 222
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
return x1 < x2 ? x1 : x2 generates compile error because operator? required that both t1 and t2 need to be convertible to the same type. But only safe version of operator? would do this. Solution implement safe version of operator?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Start by locating the library's existing operator? implementation and tests for mixed-type comparisons, then determine the intended safe conversion behavior and add coverage showing when the requested expression compiles and produces the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100