Skip to content

Commit b226424

Browse files
timsong-cpptkoeppe
authored andcommitted
[move.iterator] Use the template parameter directly in declaration of base()
1 parent e49d044 commit b226424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/iterators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4158,8 +4158,8 @@
41584158
template<class U> constexpr move_iterator(const move_iterator<U>& u);
41594159
template<class U> constexpr move_iterator& operator=(const move_iterator<U>& u);
41604160

4161-
constexpr const iterator_type& base() const & noexcept;
4162-
constexpr iterator_type base() &&;
4161+
constexpr const Iterator& base() const & noexcept;
4162+
constexpr Iterator base() &&;
41634163
constexpr reference operator*() const;
41644164

41654165
constexpr move_iterator& operator++();

0 commit comments

Comments
 (0)