Skip to content

Commit 7fe9805

Browse files
committed
[container.requirements] Omit redundant specification
where "Effects: Equivalent to" wording is used.
1 parent 454dbed commit 7fe9805

File tree

1 file changed

+0
-60
lines changed

1 file changed

+0
-60
lines changed

source/containers.tex

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,6 @@
455455
\end{itemdecl}
456456

457457
\begin{itemdescr}
458-
\pnum
459-
\result
460-
\keyword{void}
461-
462458
\pnum
463459
\effects
464460
Equivalent to \tcode{a.swap(b)}.
@@ -1529,21 +1525,9 @@
15291525
\end{itemdecl}
15301526

15311527
\begin{itemdescr}
1532-
\pnum
1533-
\result
1534-
\tcode{iterator}
1535-
15361528
\pnum
15371529
\effects
15381530
Equivalent to \tcode{a.insert(p, il.begin(), il.end())}.
1539-
1540-
\pnum
1541-
\returns
1542-
\begin{removedblock}
1543-
An iterator
1544-
that points to the copy of the first element inserted into \tcode{a}, or
1545-
\tcode{p} if \tcode{il} is empty.
1546-
\end{removedblock}
15471531
\end{itemdescr}
15481532

15491533
\indexcont{erase}%
@@ -1657,10 +1641,6 @@
16571641
\end{itemdecl}
16581642

16591643
\begin{itemdescr}
1660-
\pnum
1661-
\result
1662-
\keyword{void}
1663-
16641644
\pnum
16651645
\effects
16661646
Equivalent to \tcode{a.assign(il.begin(), il.end())}.
@@ -1761,10 +1741,6 @@
17611741
\end{itemdecl}
17621742

17631743
\begin{itemdescr}
1764-
\pnum
1765-
\result
1766-
\tcode{reference; const_reference} for constant \tcode{a}.
1767-
17681744
\pnum
17691745
\effects
17701746
Equivalent to:
@@ -3045,10 +3021,6 @@
30453021
\end{itemdecl}
30463022

30473023
\begin{itemdescr}
3048-
\pnum
3049-
\result
3050-
\keyword{void}
3051-
30523024
\pnum
30533025
\effects
30543026
Equivalent to \tcode{a.insert(il.begin(), il.end())}.
@@ -3402,10 +3374,6 @@
34023374
\end{itemdecl}
34033375

34043376
\begin{itemdescr}
3405-
\pnum
3406-
\result
3407-
\keyword{void}
3408-
34093377
\pnum
34103378
\effects
34113379
Equivalent to \tcode{a.erase(a.begin(), a.end())}.
@@ -3512,10 +3480,6 @@
35123480
\pnum
35133481
\effects
35143482
Equivalent to: \tcode{return b.find(k) != b.end();}
3515-
3516-
\pnum
3517-
\complexity
3518-
Logarithmic.
35193483
\end{itemdescr}
35203484

35213485
\indexordmem{contains}%
@@ -3531,10 +3495,6 @@
35313495
\pnum
35323496
\effects
35333497
Equivalent to: \tcode{return a_tran.find(ke) != a_tran.end();}
3534-
3535-
\pnum
3536-
\complexity
3537-
Logarithmic.
35383498
\end{itemdescr}
35393499

35403500
\indexordmem{lower_bound}%
@@ -4630,10 +4590,6 @@
46304590
\end{itemdecl}
46314591

46324592
\begin{itemdescr}
4633-
\pnum
4634-
\result
4635-
\keyword{void}
4636-
46374593
\pnum
46384594
\effects
46394595
Equivalent to \tcode{a.insert(il.begin(), il.end())}.
@@ -5074,10 +5030,6 @@
50745030
\end{itemdecl}
50755031

50765032
\begin{itemdescr}
5077-
\pnum
5078-
\result
5079-
\tcode{bool}
5080-
50815033
\pnum
50825034
\effects
50835035
Equivalent to \tcode{b.find(k) != b.end()}.
@@ -5089,10 +5041,6 @@
50895041
\end{itemdecl}
50905042

50915043
\begin{itemdescr}
5092-
\pnum
5093-
\result
5094-
\tcode{bool}
5095-
50965044
\pnum
50975045
\effects
50985046
Equivalent to \tcode{a_tran.find(ke) != a_tran.end()}.
@@ -5409,17 +5357,9 @@
54095357
\end{itemdecl}
54105358

54115359
\begin{itemdescr}
5412-
\pnum
5413-
\result
5414-
\keyword{void}
5415-
54165360
\pnum
54175361
\effects
54185362
Equivalent to \tcode{a.rehash(ceil(n / a.max_load_factor()))}.
5419-
5420-
\pnum
5421-
\complexity
5422-
Average case linear in \tcode{a.size()}, worst case quadratic.
54235363
\end{itemdescr}
54245364

54255365
\pnum

0 commit comments

Comments
 (0)