reverse_iterator doesn't properly forward value_type, so in cases where the underlying range's value_type is not simply uncvref_t<reference>, views::reverse will end up destroying that information - which is especially problematic if you're reverseing a zip and then do some work that relies on the value_type not having reference semantics.
reverse_iterator
doesn't properly forwardvalue_type
, so in cases where the underlying range'svalue_type
is not simplyuncvref_t<reference>
,views::reverse
will end up destroying that information - which is especially problematic if you'rereverse
ing azip
and then do some work that relies on thevalue_type
not having reference semantics.