Skip to content

Commit 1f1ecfa

Browse files
committed
[container.requirements] Reword Result specifications
1 parent 90caab8 commit 1f1ecfa

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
@@ -333,8 +333,8 @@
333333
\begin{itemdescr}
334334
\pnum
335335
\result
336-
\tcode{iterator};
337-
\tcode{const_iterator} for constant \tcode{b}.
336+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
337+
\tcode{iterator} otherwise.
338338

339339
\pnum
340340
\returns
@@ -353,8 +353,8 @@
353353
\begin{itemdescr}
354354
\pnum
355355
\result
356-
\tcode{iterator};
357-
\tcode{const_iterator} for constant \tcode{b}.
356+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
357+
\tcode{iterator} otherwise.
358358

359359
\pnum
360360
\returns
@@ -773,8 +773,8 @@
773773
\begin{itemdescr}
774774
\pnum
775775
\result
776-
\tcode{reverse_iterator};
777-
\tcode{const_reverse_iterator} for constant \tcode{a}.
776+
\tcode{const_reverse_iterator} if \tcode{a} is of type \tcode{const X};
777+
\tcode{reverse_iterator} otherwise.
778778

779779
\pnum
780780
\returns
@@ -793,8 +793,8 @@
793793
\begin{itemdescr}
794794
\pnum
795795
\result
796-
\tcode{reverse_iterator};
797-
\tcode{const_reverse_iterator} for constant \tcode{a}.
796+
\tcode{const_reverse_iterator} if \tcode{a} is of type \tcode{const X};
797+
\tcode{reverse_iterator} otherwise.
798798

799799
\pnum
800800
\returns
@@ -1845,7 +1845,8 @@
18451845
\begin{itemdescr}
18461846
\pnum
18471847
\result
1848-
\tcode{reference; const_reference} for constant \tcode{a}.
1848+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
1849+
\tcode{reference} otherwise.
18491850

18501851
\pnum
18511852
\returns
@@ -1869,7 +1870,8 @@
18691870
\begin{itemdescr}
18701871
\pnum
18711872
\result
1872-
\tcode{reference; const_reference} for constant \tcode{a}.
1873+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
1874+
\tcode{reference} otherwise.
18731875

18741876
\pnum
18751877
\effects
@@ -2178,7 +2180,8 @@
21782180
\begin{itemdescr}
21792181
\pnum
21802182
\result
2181-
\tcode{reference; const_reference} for constant \tcode{a}
2183+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
2184+
\tcode{reference} otherwise.
21822185

21832186
\pnum
21842187
\effects
@@ -2200,7 +2203,8 @@
22002203
\begin{itemdescr}
22012204
\pnum
22022205
\result
2203-
\tcode{reference; const_reference} for constant \tcode{a}
2206+
\tcode{const_reference} if \tcode{a} is of type \tcode{const X};
2207+
\tcode{reference} otherwise.
22042208

22052209
\pnum
22062210
\returns
@@ -3685,7 +3689,8 @@
36853689
\begin{itemdescr}
36863690
\pnum
36873691
\result
3688-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3692+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3693+
\tcode{iterator} otherwise.
36893694

36903695
\pnum
36913696
\returns
@@ -3705,7 +3710,8 @@
37053710
\begin{itemdescr}
37063711
\pnum
37073712
\result
3708-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3713+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3714+
\tcode{iterator} otherwise.
37093715

37103716
\pnum
37113717
\returns
@@ -3795,7 +3801,8 @@
37953801
\begin{itemdescr}
37963802
\pnum
37973803
\result
3798-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3804+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3805+
\tcode{iterator} otherwise.
37993806

38003807
\pnum
38013808
\returns
@@ -3815,7 +3822,8 @@
38153822
\begin{itemdescr}
38163823
\pnum
38173824
\result
3818-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3825+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3826+
\tcode{iterator} otherwise.
38193827

38203828
\pnum
38213829
\returns
@@ -3836,7 +3844,8 @@
38363844
\begin{itemdescr}
38373845
\pnum
38383846
\result
3839-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
3847+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
3848+
\tcode{iterator} otherwise.
38403849

38413850
\pnum
38423851
\returns
@@ -3856,7 +3865,8 @@
38563865
\begin{itemdescr}
38573866
\pnum
38583867
\result
3859-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
3868+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
3869+
\tcode{iterator} otherwise.
38603870

38613871
\pnum
38623872
\returns
@@ -3877,8 +3887,9 @@
38773887
\begin{itemdescr}
38783888
\pnum
38793889
\result
3880-
\tcode{pair<iterator, iterator>};
3881-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
3890+
\tcode{pair<const_iterator, const_iterator>}
3891+
if \tcode{b} is of type \tcode{const X}; \\
3892+
\tcode{pair<iterator, iterator>} otherwise.
38823893

38833894
\pnum
38843895
\effects
@@ -3897,8 +3908,9 @@
38973908
\begin{itemdescr}
38983909
\pnum
38993910
\result
3900-
\tcode{pair<iterator, iterator>};
3901-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
3911+
\tcode{pair<const_iterator, const_iterator>}
3912+
if \tcode{a_tran} is of type \tcode{const X}; \\
3913+
\tcode{pair<iterator, iterator>} otherwise.
39023914

39033915
\pnum
39043916
\effects
@@ -5382,7 +5394,8 @@
53825394
\begin{itemdescr}
53835395
\pnum
53845396
\result
5385-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{b}.
5397+
\tcode{const_iterator} if \tcode{b} is of type \tcode{const X};
5398+
\tcode{iterator} otherwise.
53865399

53875400
\pnum
53885401
\returns
@@ -5402,7 +5415,8 @@
54025415
\begin{itemdescr}
54035416
\pnum
54045417
\result
5405-
\tcode{iterator}; \tcode{const_iterator} for constant \tcode{a_tran}.
5418+
\tcode{const_iterator} if \tcode{a_tran} is of type \tcode{const X};
5419+
\tcode{iterator} otherwise.
54065420

54075421
\pnum
54085422
\returns
@@ -5483,8 +5497,9 @@
54835497
\begin{itemdescr}
54845498
\pnum
54855499
\result
5486-
\tcode{pair<iterator, iterator>};
5487-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{b}.
5500+
\tcode{pair<const_iterator, const_iterator>}
5501+
if \tcode{b} is of type \tcode{const X}; \\
5502+
\tcode{pair<iterator, iterator>} otherwise.
54885503

54895504
\pnum
54905505
\returns
@@ -5504,8 +5519,9 @@
55045519
\begin{itemdescr}
55055520
\pnum
55065521
\result
5507-
\tcode{pair<iterator, iterator>};
5508-
\tcode{pair<const_iterator, const_iterator>} for constant \tcode{a_tran}.
5522+
\tcode{pair<const_iterator, const_iterator>}
5523+
if \tcode{a_tran} is of type \tcode{const X}; \\
5524+
\tcode{pair<iterator, iterator>} otherwise.
55095525

55105526
\pnum
55115527
\returns
@@ -5642,7 +5658,8 @@
56425658
\begin{itemdescr}
56435659
\pnum
56445660
\result
5645-
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
5661+
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
5662+
\tcode{local_iterator} otherwise.
56465663

56475664
\pnum
56485665
\expects
@@ -5666,7 +5683,8 @@
56665683
\begin{itemdescr}
56675684
\pnum
56685685
\result
5669-
\tcode{local_iterator}; \tcode{const_local_iterator} for constant \tcode{b}.
5686+
\tcode{const_local_iterator} if \tcode{b} is of type \tcode{const X};
5687+
\tcode{local_iterator} otherwise.
56705688

56715689
\pnum
56725690
\expects

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy