Closed tcbrindle closed 1 year ago
Patch coverage: 98.36
% and project coverage change: +0.04
:tada:
Comparison is base (
471dd38
) 97.70% compared to head (93a2936
) 97.74%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Patch coverage: 100.00
% and project coverage change: +0.09
:tada:
Comparison is base (
471dd38
) 97.70% compared to head (f5fc8c6
) 97.79%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Given a multipass sequence,
cycle(seq)
is aninfinite_sequence
which endlessly yields the elements ofseq
, looping back to the beginning when the underlying sequence is exhausted.To avoid "spooky action at a distance",
cycle()
only provides const access to the elements of the underlying sequence.