libfn / functional

Extending C++ library for functional programming
ISC License
60 stars 8 forks source link

Add `value_or` functor #75

Closed Bronek closed 5 months ago

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.0%. Comparing base (9014088) to head (9a3b178).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/libfn/functional/pull/75/graphs/tree.svg?width=650&height=150&src=pr&token=3RHT38SEU0&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn)](https://app.codecov.io/gh/libfn/functional/pull/75?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn) ```diff @@ Coverage Diff @@ ## main #75 +/- ## ======================================= Coverage 100.0% 100.0% ======================================= Files 19 20 +1 Lines 853 857 +4 Branches 121 121 ======================================= + Hits 853 857 +4 ``` | [Files](https://app.codecov.io/gh/libfn/functional/pull/75?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn) | Coverage Δ | | |---|---|---| | [include/functional/value\_or.hpp](https://app.codecov.io/gh/libfn/functional/pull/75?src=pr&el=tree&filepath=include%2Ffunctional%2Fvalue_or.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL3ZhbHVlX29yLmhwcA==) | `100.0% <100.0%> (ø)` | | [![Impacted file tree graph](https://app.codecov.io/gh/libfn/functional/pull/75/graphs/tree.svg?width=650&height=150&src=pr&token=3RHT38SEU0&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn)](https://app.codecov.io/gh/libfn/functional/pull/75?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn)