Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[concept.swappable,iterator.cust] Fix phrasing 'with no diagnostic required' #3789

Merged
merged 1 commit into from
Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/concepts.tex
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
If the function selected by overload resolution does not
exchange the values denoted by
\tcode{E1} and \tcode{E2},
the program is ill-formed with no diagnostic required.
the program is ill-formed, no diagnostic required.

\item
Otherwise, if \tcode{E1} and \tcode{E2}
Expand Down
8 changes: 4 additions & 4 deletions source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1074,8 +1074,8 @@
\end{itemize}

\pnum
If \tcode{ranges::iter_move(E)} is not equal to \tcode{*E}, the program is
ill-formed with no diagnostic required.
If \tcode{ranges::iter_move(E)} is not equal to \tcode{*E},
the program is ill-formed, no diagnostic required.

\rSec3[iterator.cust.swap]{\tcode{ranges::iter_swap}}

Expand Down Expand Up @@ -1118,8 +1118,8 @@
\end{codeblock}
and does not include a declaration of \tcode{ranges::iter_swap}.
If the function selected by overload resolution does not exchange the values
denoted by \tcode{E1} and \tcode{E2}, the program is
ill-formed with no diagnostic required.
denoted by \tcode{E1} and \tcode{E2},
the program is ill-formed, no diagnostic required.

\item Otherwise, if the types of \tcode{E1} and \tcode{E2} each model
\tcode{indirectly_readable}, and if the reference types of \tcode{E1} and \tcode{E2}
Expand Down