Skip to content

Add examples of each of the different policies#8

Merged
mborland merged 4 commits intodevelopfrom
examples
Feb 5, 2026
Merged

Add examples of each of the different policies#8
mborland merged 4 commits intodevelopfrom
examples

Conversation

@mborland
Copy link
Member

@mborland mborland commented Feb 4, 2026

No description provided.

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 97.61029% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.1%. Comparing base (a6f6a50) to head (609aef5).
⚠️ Report is 5 commits behind head on develop.

Files with missing lines Patch % Lines
examples/checked_arithmetic.cpp 79.5% 4 Missing and 3 partials ⚠️
examples/overflowing_arithmetic.cpp 88.9% 1 Missing and 3 partials ⚠️
examples/wrapping_arithmetic.cpp 93.8% 0 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop      #8     +/-   ##
=========================================
- Coverage     98.2%   98.1%   -0.1%     
=========================================
  Files           48      54      +6     
  Lines         1573    2117    +544     
  Branches       373     598    +225     
=========================================
+ Hits          1544    2075    +531     
- Misses          13      18      +5     
- Partials        16      24      +8     
Files with missing lines Coverage Δ
examples/saturating_arithmetic.cpp 100.0% <100.0%> (ø)
test/test_boundary_arithmetic.cpp 100.0% <100.0%> (ø)
test/test_exhaustive_u8_arithmetic.cpp 100.0% <100.0%> (ø)
examples/wrapping_arithmetic.cpp 93.8% <93.8%> (ø)
examples/overflowing_arithmetic.cpp 88.9% <88.9%> (ø)
examples/checked_arithmetic.cpp 79.5% <79.5%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6f6a50...609aef5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cppalliance-bot
Copy link

cppalliance-bot commented Feb 4, 2026

An automated preview of the documentation is available at https://8.safe-numbers.prtest3.cppalliance.org/libs/safe_numbers/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-02-04 21:07:51 UTC

@mborland mborland merged commit 4a64270 into develop Feb 5, 2026
28 of 32 checks passed
@mborland mborland deleted the examples branch February 5, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants