tcbrindle / flux

A C++20 library for sequence-orientated programming
https://tristanbrindle.com/flux/
Boost Software License 1.0
441 stars 28 forks source link

Fix bug in reverse_adaptor::for_each_while #183

Closed tcbrindle closed 3 months ago

tcbrindle commented 3 months ago

We only need to increment the base cursor if we break out the loop early

Fixes #182

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 98.07%. Comparing base (b8047a5) to head (b46f056).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #183 +/- ## ======================================= Coverage 98.07% 98.07% ======================================= Files 69 69 Lines 2440 2441 +1 ======================================= + Hits 2393 2394 +1 Misses 47 47 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.