Skip to content

Commit

Permalink
[container.requirements] Reword Result specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisenwave committed Jun 4, 2024
1 parent 90caab8 commit 1f1ecfa
Showing 1 changed file with 48 additions and 30 deletions.
78 changes: 48 additions & 30 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator};
\tcode{const_iterator} for constant \tcode{b}.
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand All @@ -353,8 +353,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator};
\tcode{const_iterator} for constant \tcode{b}.
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand Down Expand Up @@ -773,8 +773,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{reverse_iterator};
\tcode{const_reverse_iterator} for constant \tcode{a}.
\tcode{const_reverse_iterator} if \tcode{a} is of type \tcode{const X};
\tcode{reverse_iterator} otherwise.

\pnum
\returns
Expand All @@ -793,8 +793,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{reverse_iterator};
\tcode{const_reverse_iterator} for constant \tcode{a}.
\tcode{const_reverse_iterator} if \tcode{a} is of type \tcode{const X};
\tcode{reverse_iterator} otherwise.

\pnum
\returns
Expand Down Expand Up @@ -1845,7 +1845,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{reference; const_reference} for constant \tcode{a}.
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
\tcode{reference} otherwise.

\pnum
\returns
Expand All @@ -1869,7 +1870,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{reference; const_reference} for constant \tcode{a}.
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
\tcode{reference} otherwise.

\pnum
\effects
Expand Down Expand Up @@ -2178,7 +2180,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{reference; const_reference} for constant \tcode{a}
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
\tcode{reference} otherwise.

\pnum
\effects
Expand All @@ -2200,7 +2203,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{reference; const_reference} for constant \tcode{a}
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
\tcode{reference} otherwise.

\pnum
\returns
Expand Down Expand Up @@ -3685,7 +3689,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand All @@ -3705,7 +3710,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand Down Expand Up @@ -3795,7 +3801,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand All @@ -3815,7 +3822,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand All @@ -3836,7 +3844,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand All @@ -3856,7 +3865,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand All @@ -3877,8 +3887,9 @@
\begin{itemdescr}
\pnum
\result
\tcode{pair<iterator, iterator>};
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
\tcode{pair<const_iterator, const_iterator>}
if \tcode{b} is of type \tcode{const X}; \\
\tcode{pair<iterator, iterator>} otherwise.

\pnum
\effects
Expand All @@ -3897,8 +3908,9 @@
\begin{itemdescr}
\pnum
\result
\tcode{pair<iterator, iterator>};
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
\tcode{pair<const_iterator, const_iterator>}
if \tcode{a_tran} is of type \tcode{const X}; \\
\tcode{pair<iterator, iterator>} otherwise.

\pnum
\effects
Expand Down Expand Up @@ -5382,7 +5394,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand All @@ -5402,7 +5415,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
\tcode{iterator} otherwise.

\pnum
\returns
Expand Down Expand Up @@ -5483,8 +5497,9 @@
\begin{itemdescr}
\pnum
\result
\tcode{pair<iterator, iterator>};
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
\tcode{pair<const_iterator, const_iterator>}
if \tcode{b} is of type \tcode{const X}; \\
\tcode{pair<iterator, iterator>} otherwise.

\pnum
\returns
Expand All @@ -5504,8 +5519,9 @@
\begin{itemdescr}
\pnum
\result
\tcode{pair<iterator, iterator>};
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
\tcode{pair<const_iterator, const_iterator>}
if \tcode{a_tran} is of type \tcode{const X}; \\
\tcode{pair<iterator, iterator>} otherwise.

\pnum
\returns
Expand Down Expand Up @@ -5642,7 +5658,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{local_iterator} otherwise.

\pnum
\expects
Expand All @@ -5666,7 +5683,8 @@
\begin{itemdescr}
\pnum
\result
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
\tcode{local_iterator} otherwise.

\pnum
\expects
Expand Down

0 comments on commit 1f1ecfa

Please sign in to comment.