Skip to content

Commit 61848f2

Browse files
committed
[container.requirements] Omit redundant specification
where "Effects: Equivalent to" wording is used.
1 parent 9f1b3f4 commit 61848f2

File tree

1 file changed

+0
-56
lines changed

1 file changed

+0
-56
lines changed

source/containers.tex

Lines changed: 0 additions & 56 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())}.
@@ -3045,10 +3025,6 @@
30453025
\end{itemdecl}
30463026

30473027
\begin{itemdescr}
3048-
\pnum
3049-
\result
3050-
\keyword{void}
3051-
30523028
\pnum
30533029
\effects
30543030
Equivalent to \tcode{a.insert(il.begin(), il.end())}.
@@ -3402,10 +3378,6 @@
34023378
\end{itemdecl}
34033379

34043380
\begin{itemdescr}
3405-
\pnum
3406-
\result
3407-
\keyword{void}
3408-
34093381
\pnum
34103382
\effects
34113383
Equivalent to \tcode{a.erase(a.begin(), a.end())}.
@@ -3512,10 +3484,6 @@
35123484
\pnum
35133485
\effects
35143486
Equivalent to: \tcode{return b.find(k) != b.end();}
3515-
3516-
\pnum
3517-
\complexity
3518-
Logarithmic.
35193487
\end{itemdescr}
35203488

35213489
\indexordmem{contains}%
@@ -3531,10 +3499,6 @@
35313499
\pnum
35323500
\effects
35333501
Equivalent to: \tcode{return a_tran.find(ke) != a_tran.end();}
3534-
3535-
\pnum
3536-
\complexity
3537-
Logarithmic.
35383502
\end{itemdescr}
35393503

35403504
\indexordmem{lower_bound}%
@@ -4630,10 +4594,6 @@
46304594
\end{itemdecl}
46314595

46324596
\begin{itemdescr}
4633-
\pnum
4634-
\result
4635-
\keyword{void}
4636-
46374597
\pnum
46384598
\effects
46394599
Equivalent to \tcode{a.insert(il.begin(), il.end())}.
@@ -5074,10 +5034,6 @@
50745034
\end{itemdecl}
50755035

50765036
\begin{itemdescr}
5077-
\pnum
5078-
\result
5079-
\tcode{bool}
5080-
50815037
\pnum
50825038
\effects
50835039
Equivalent to \tcode{b.find(k) != b.end()}.
@@ -5089,10 +5045,6 @@
50895045
\end{itemdecl}
50905046

50915047
\begin{itemdescr}
5092-
\pnum
5093-
\result
5094-
\tcode{bool}
5095-
50965048
\pnum
50975049
\effects
50985050
Equivalent to \tcode{a_tran.find(ke) != a_tran.end()}.
@@ -5409,17 +5361,9 @@
54095361
\end{itemdecl}
54105362

54115363
\begin{itemdescr}
5412-
\pnum
5413-
\result
5414-
\keyword{void}
5415-
54165364
\pnum
54175365
\effects
54185366
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.
54235367
\end{itemdescr}
54245368

54255369
\pnum

0 commit comments

Comments
 (0)