Closed tcbrindle closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
69d5d93
) 98.37% compared to head (30be972
) 98.38%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
reverse_adaptor
needs to wrap the underlying cursor in order to provide a "reversed"operator<=>
when the underlying cursor is ordered. To do so it uses an internal type calledrev_cur
.Previously we were being cute and using CTAD to just call
rev_cur(base_cur)
. But ifbase_cur
itself is a specialisation ofrev_cur
then this will result in the base cursor being copy/move constructed rather than wrapped.To avoid this issue we'll explicitly instantiate
rev_cur<cursor_t<Base>>(base_cur)
instead.