tcbrindle / flux

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

Fix cartesian_product::last with empty sequence #180

Closed tcbrindle closed 6 months ago

tcbrindle commented 6 months ago

Make sure that first() == last() for a cartesian product adaptor with an empty base sequence (that is not the first base).

Fixes #177

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 98.06%. Comparing base (6719d90) to head (a25f209).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #180 +/- ## ======================================= Coverage 98.06% 98.06% ======================================= Files 69 69 Lines 2426 2433 +7 ======================================= + Hits 2379 2386 +7 Misses 47 47 ```

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