Skip to content

Commit

Permalink
LWG3520 iter_move and iter_swap are inconsistent for transform_view::…
Browse files Browse the repository at this point in the history
…iterator
  • Loading branch information
jensmaurer committed Jun 12, 2021
1 parent ea7f207 commit 6b66d4f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions source/ranges.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3853,10 +3853,6 @@
else
return *i;
}

friend constexpr void iter_swap(const @\exposid{iterator}@& x, const @\exposid{iterator}@& y)
noexcept(noexcept(ranges::iter_swap(x.@\exposid{current_}@, y.@\exposid{current_}@)))
requires @\libconcept{indirectly_swappable}@<iterator_t<@\exposid{Base}@>>;
};
}
\end{codeblock}
Expand Down Expand Up @@ -4164,19 +4160,6 @@
Equivalent to: \tcode{return x.\exposid{current_} - y.\exposid{current_};}
\end{itemdescr}

\indexlibrarymember{iter_swap}{transform_view::iterator}%
\begin{itemdecl}
friend constexpr void iter_swap(const @\exposid{iterator}@& x, const @\exposid{iterator}@& y)
noexcept(noexcept(ranges::iter_swap(x.@\exposid{current_}@, y.@\exposid{current_}@)))
requires @\libconcept{indirectly_swappable}@<iterator_t<@\exposid{Base}@>>;
\end{itemdecl}

\begin{itemdescr}
\pnum
\effects
Equivalent to \tcode{ranges::iter_swap(x.\exposid{current_}, y.\exposid{current_})}.
\end{itemdescr}


\rSec3[range.transform.sentinel]{Class template \tcode{transform_view::\exposid{sentinel}}}

Expand Down

0 comments on commit 6b66d4f

Please sign in to comment.