Skip to content

Commit 713bf87

Browse files
committed
[container.requirements] Reword Result specifications
1 parent 1abf091 commit 713bf87

File tree

1 file changed

+48
-30
lines changed

1 file changed

+48
-30
lines changed

source/containers.tex

Lines changed: 48 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@
339339
\begin{itemdescr}
340340
\pnum
341341
\result
342-
\tcode{iterator};
343-
\tcode{const_iterator} for constant \tcode{b}.
342+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
343+
\tcode{iterator} otherwise.
344344

345345
\pnum
346346
\returns
@@ -359,8 +359,8 @@
359359
\begin{itemdescr}
360360
\pnum
361361
\result
362-
\tcode{iterator};
363-
\tcode{const_iterator} for constant \tcode{b}.
362+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
363+
\tcode{iterator} otherwise.
364364

365365
\pnum
366366
\returns
@@ -822,8 +822,8 @@
822822
\begin{itemdescr}
823823
\pnum
824824
\result
825-
\tcode{reverse_iterator};
826-
\tcode{const_reverse_iterator} for constant \tcode{a}.
825+
\tcode{const_reverse_iterator} if \tcode{a} is of type \tcode{const X};
826+
\tcode{reverse_iterator} otherwise.
827827

828828
\pnum
829829
\returns
@@ -842,8 +842,8 @@
842842
\begin{itemdescr}
843843
\pnum
844844
\result
845-
\tcode{reverse_iterator};
846-
\tcode{const_reverse_iterator} for constant \tcode{a}.
845+
\tcode{const_reverse_iterator} if \tcode{a} is of type \tcode{const X};
846+
\tcode{reverse_iterator} otherwise.
847847

848848
\pnum
849849
\returns
@@ -1919,7 +1919,8 @@
19191919
\begin{itemdescr}
19201920
\pnum
19211921
\result
1922-
\tcode{reference; const_reference} for constant \tcode{a}.
1922+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
1923+
\tcode{reference} otherwise.
19231924

19241925
\pnum
19251926
\hardexpects
@@ -1948,7 +1949,8 @@
19481949
\begin{itemdescr}
19491950
\pnum
19501951
\result
1951-
\tcode{reference; const_reference} for constant \tcode{a}.
1952+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
1953+
\tcode{reference} otherwise.
19521954

19531955
\pnum
19541956
\hardexpects
@@ -2267,7 +2269,8 @@
22672269
\begin{itemdescr}
22682270
\pnum
22692271
\result
2270-
\tcode{reference; const_reference} for constant \tcode{a}.
2272+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
2273+
\tcode{reference} otherwise.
22712274

22722275
\pnum
22732276
\hardexpects
@@ -2294,7 +2297,8 @@
22942297
\begin{itemdescr}
22952298
\pnum
22962299
\result
2297-
\tcode{reference; const_reference} for constant \tcode{a}.
2300+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
2301+
\tcode{reference} otherwise.
22982302

22992303
\pnum
23002304
\returns
@@ -3784,7 +3788,8 @@
37843788
\begin{itemdescr}
37853789
\pnum
37863790
\result
3787-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3791+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3792+
\tcode{iterator} otherwise.
37883793

37893794
\pnum
37903795
\returns
@@ -3804,7 +3809,8 @@
38043809
\begin{itemdescr}
38053810
\pnum
38063811
\result
3807-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3812+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3813+
\tcode{iterator} otherwise.
38083814

38093815
\pnum
38103816
\returns
@@ -3894,7 +3900,8 @@
38943900
\begin{itemdescr}
38953901
\pnum
38963902
\result
3897-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3903+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3904+
\tcode{iterator} otherwise.
38983905

38993906
\pnum
39003907
\returns
@@ -3914,7 +3921,8 @@
39143921
\begin{itemdescr}
39153922
\pnum
39163923
\result
3917-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3924+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3925+
\tcode{iterator} otherwise.
39183926

39193927
\pnum
39203928
\returns
@@ -3935,7 +3943,8 @@
39353943
\begin{itemdescr}
39363944
\pnum
39373945
\result
3938-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3946+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3947+
\tcode{iterator} otherwise.
39393948

39403949
\pnum
39413950
\returns
@@ -3955,7 +3964,8 @@
39553964
\begin{itemdescr}
39563965
\pnum
39573966
\result
3958-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3967+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3968+
\tcode{iterator} otherwise.
39593969

39603970
\pnum
39613971
\returns
@@ -3976,8 +3986,9 @@
39763986
\begin{itemdescr}
39773987
\pnum
39783988
\result
3979-
\tcode{pair<iterator, iterator>};
3980-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
3989+
\tcode{pair<const_iterator, const_iterator>}
3990+
if \tcode{b} is of type \tcode{const X}; \\
3991+
\tcode{pair<iterator, iterator>} otherwise.
39813992

39823993
\pnum
39833994
\effects
@@ -3996,8 +4007,9 @@
39964007
\begin{itemdescr}
39974008
\pnum
39984009
\result
3999-
\tcode{pair<iterator, iterator>};
4000-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
4010+
\tcode{pair<const_iterator, const_iterator>}
4011+
if \tcode{a_tran} is of type \tcode{const X}; \\
4012+
\tcode{pair<iterator, iterator>} otherwise.
40014013

40024014
\pnum
40034015
\effects
@@ -5481,7 +5493,8 @@
54815493
\begin{itemdescr}
54825494
\pnum
54835495
\result
5484-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
5496+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
5497+
\tcode{iterator} otherwise.
54855498

54865499
\pnum
54875500
\returns
@@ -5501,7 +5514,8 @@
55015514
\begin{itemdescr}
55025515
\pnum
55035516
\result
5504-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
5517+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
5518+
\tcode{iterator} otherwise.
55055519

55065520
\pnum
55075521
\returns
@@ -5582,8 +5596,9 @@
55825596
\begin{itemdescr}
55835597
\pnum
55845598
\result
5585-
\tcode{pair<iterator, iterator>};
5586-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
5599+
\tcode{pair<const_iterator, const_iterator>}
5600+
if \tcode{b} is of type \tcode{const X}; \\
5601+
\tcode{pair<iterator, iterator>} otherwise.
55875602

55885603
\pnum
55895604
\returns
@@ -5603,8 +5618,9 @@
56035618
\begin{itemdescr}
56045619
\pnum
56055620
\result
5606-
\tcode{pair<iterator, iterator>};
5607-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
5621+
\tcode{pair<const_iterator, const_iterator>}
5622+
if \tcode{a_tran} is of type \tcode{const X}; \\
5623+
\tcode{pair<iterator, iterator>} otherwise.
56085624

56095625
\pnum
56105626
\returns
@@ -5741,7 +5757,8 @@
57415757
\begin{itemdescr}
57425758
\pnum
57435759
\result
5744-
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
5760+
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
5761+
\tcode{local_iterator} otherwise.
57455762

57465763
\pnum
57475764
\expects
@@ -5765,7 +5782,8 @@
57655782
\begin{itemdescr}
57665783
\pnum
57675784
\result
5768-
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
5785+
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
5786+
\tcode{local_iterator} otherwise.
57695787

57705788
\pnum
57715789
\expects

0 commit comments

Comments
 (0)