Skip to content

Commit 5d7c6fe

Browse files
jensmaurerzygoloid
authored andcommitted
P1638R1 basic_istream_view::iterator should not be copyable
1 parent 9ce157f commit 5d7c6fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/ranges.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5560,6 +5560,12 @@
55605560
iterator() = default;
55615561
constexpr explicit iterator(basic_istream_view& parent) noexcept;
55625562

5563+
iterator(const iterator&) = delete;
5564+
iterator(iterator&&) = default;
5565+
5566+
iterator& operator=(const iterator&) = delete;
5567+
iterator& operator=(iterator&&) = default;
5568+
55635569
iterator& operator++();
55645570
void operator++(int);
55655571

0 commit comments

Comments
 (0)