Skip to content

Commit d65fff2

Browse files
committed
[container.requirements] Reword Result specifications
1 parent 4b07ece commit d65fff2

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
@@ -3783,7 +3787,8 @@
37833787
\begin{itemdescr}
37843788
\pnum
37853789
\result
3786-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3790+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3791+
\tcode{iterator} otherwise.
37873792

37883793
\pnum
37893794
\returns
@@ -3803,7 +3808,8 @@
38033808
\begin{itemdescr}
38043809
\pnum
38053810
\result
3806-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3811+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3812+
\tcode{iterator} otherwise.
38073813

38083814
\pnum
38093815
\returns
@@ -3893,7 +3899,8 @@
38933899
\begin{itemdescr}
38943900
\pnum
38953901
\result
3896-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3902+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3903+
\tcode{iterator} otherwise.
38973904

38983905
\pnum
38993906
\returns
@@ -3913,7 +3920,8 @@
39133920
\begin{itemdescr}
39143921
\pnum
39153922
\result
3916-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3923+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3924+
\tcode{iterator} otherwise.
39173925

39183926
\pnum
39193927
\returns
@@ -3934,7 +3942,8 @@
39343942
\begin{itemdescr}
39353943
\pnum
39363944
\result
3937-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3945+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3946+
\tcode{iterator} otherwise.
39383947

39393948
\pnum
39403949
\returns
@@ -3954,7 +3963,8 @@
39543963
\begin{itemdescr}
39553964
\pnum
39563965
\result
3957-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3966+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3967+
\tcode{iterator} otherwise.
39583968

39593969
\pnum
39603970
\returns
@@ -3975,8 +3985,9 @@
39753985
\begin{itemdescr}
39763986
\pnum
39773987
\result
3978-
\tcode{pair<iterator, iterator>};
3979-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
3988+
\tcode{pair<const_iterator, const_iterator>}
3989+
if \tcode{b} is of type \tcode{const X}; \\
3990+
\tcode{pair<iterator, iterator>} otherwise.
39803991

39813992
\pnum
39823993
\effects
@@ -3995,8 +4006,9 @@
39954006
\begin{itemdescr}
39964007
\pnum
39974008
\result
3998-
\tcode{pair<iterator, iterator>};
3999-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
4009+
\tcode{pair<const_iterator, const_iterator>}
4010+
if \tcode{a_tran} is of type \tcode{const X}; \\
4011+
\tcode{pair<iterator, iterator>} otherwise.
40004012

40014013
\pnum
40024014
\effects
@@ -5470,7 +5482,8 @@
54705482
\begin{itemdescr}
54715483
\pnum
54725484
\result
5473-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
5485+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
5486+
\tcode{iterator} otherwise.
54745487

54755488
\pnum
54765489
\returns
@@ -5490,7 +5503,8 @@
54905503
\begin{itemdescr}
54915504
\pnum
54925505
\result
5493-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
5506+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
5507+
\tcode{iterator} otherwise.
54945508

54955509
\pnum
54965510
\returns
@@ -5571,8 +5585,9 @@
55715585
\begin{itemdescr}
55725586
\pnum
55735587
\result
5574-
\tcode{pair<iterator, iterator>};
5575-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
5588+
\tcode{pair<const_iterator, const_iterator>}
5589+
if \tcode{b} is of type \tcode{const X}; \\
5590+
\tcode{pair<iterator, iterator>} otherwise.
55765591

55775592
\pnum
55785593
\returns
@@ -5592,8 +5607,9 @@
55925607
\begin{itemdescr}
55935608
\pnum
55945609
\result
5595-
\tcode{pair<iterator, iterator>};
5596-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
5610+
\tcode{pair<const_iterator, const_iterator>}
5611+
if \tcode{a_tran} is of type \tcode{const X}; \\
5612+
\tcode{pair<iterator, iterator>} otherwise.
55975613

55985614
\pnum
55995615
\returns
@@ -5730,7 +5746,8 @@
57305746
\begin{itemdescr}
57315747
\pnum
57325748
\result
5733-
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
5749+
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
5750+
\tcode{local_iterator} otherwise.
57345751

57355752
\pnum
57365753
\expects
@@ -5754,7 +5771,8 @@
57545771
\begin{itemdescr}
57555772
\pnum
57565773
\result
5757-
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
5774+
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
5775+
\tcode{local_iterator} otherwise.
57585776

57595777
\pnum
57605778
\expects

0 commit comments

Comments
 (0)