Skip to content

Commit

Permalink
make zip_range bidirectional
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Mar 29, 2024
1 parent c066619 commit 6d33bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/utl/zip.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct zip_iterator<std::tuple<Iterators...>> {
using References =
std::tuple<typename std::iterator_traits<Iterators>::reference...>;

using iterator_category = std::input_iterator_tag;
using iterator_category = std::bidirectional_iterator_tag;
using value_type = References;
using reference = value_type;
using pointer = value_type*;
Expand Down

0 comments on commit 6d33bb2

Please sign in to comment.