Skip to content

Commit 898a677

Browse files
committed
[global.functions] Clarify note by adding a cross-reference to make it
clearer that we're quoting another part of the standard. Update the quotation to match, and clean it up slightly.
1 parent 4c0d938 commit 898a677

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

source/iterators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2958,9 +2958,9 @@
29582958
\effects
29592959
\begin{codeblock}
29602960
*@\textit{out_stream}@ << value;
2961-
if(delim != 0)
2961+
if (@\textit{delim}@ != 0)
29622962
*@\textit{out_stream}@ << @\textit{delim}@;
2963-
return (*this);
2963+
return *this;
29642964
\end{codeblock}
29652965
\end{itemdescr}
29662966

source/lib-intro.tex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2511,13 +2511,14 @@
25112511
The phrase ``unless otherwise specified'' is intended to allow
25122512
argument-dependent lookup
25132513
in cases like that of
2514-
\tcode{ostream_iterator}s:
2514+
\tcode{ostream_iterator::operator=}~(\ref{ostream.iterator.ops}):
2515+
25152516
\effects
25162517
\begin{codeblock}
2517-
*out_stream << value;
2518-
if (delim != 0)
2519-
*out_stream << delim;
2520-
return (*this);
2518+
*@\textit{out_stream}@ << value;
2519+
if (@\textit{delim}@ != 0)
2520+
*@\textit{out_stream}@ << @\textit{delim}@;
2521+
return *this;
25212522
\end{codeblock}
25222523
\exitnote
25232524

0 commit comments

Comments
 (0)