Skip to content

Commit e67b6fd

Browse files
committed
zip iters are input not forward
1 parent 3dbb274 commit e67b6fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

zip.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace iter {
3838

3939
public:
4040
class Iterator :
41-
public std::iterator<std::forward_iterator_tag, ZipIterDeref>
41+
public std::iterator<std::input_iterator_tag, ZipIterDeref>
4242
{
4343
private:
4444
using RestIter =
@@ -94,7 +94,7 @@ namespace iter {
9494
class Zipped<> {
9595
public:
9696
class Iterator
97-
: public std::iterator<std::forward_iterator_tag, std::tuple<>>
97+
: public std::iterator<std::input_iterator_tag, std::tuple<>>
9898
{
9999
public:
100100
constexpr static const bool is_base_iter = true;

0 commit comments

Comments
 (0)