File tree Expand file tree Collapse file tree 1 file changed +0
-60
lines changed Expand file tree Collapse file tree 1 file changed +0
-60
lines changed Original file line number Diff line number Diff line change 455
455
\end {itemdecl }
456
456
457
457
\begin {itemdescr }
458
- \pnum
459
- \result
460
- \keyword {void}
461
-
462
458
\pnum
463
459
\effects
464
460
Equivalent to \tcode {a.swap(b)}.
1529
1525
\end {itemdecl }
1530
1526
1531
1527
\begin {itemdescr }
1532
- \pnum
1533
- \result
1534
- \tcode {iterator}
1535
-
1536
1528
\pnum
1537
1529
\effects
1538
1530
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 }
1547
1531
\end {itemdescr }
1548
1532
1549
1533
\indexcont {erase}%
1657
1641
\end {itemdecl }
1658
1642
1659
1643
\begin {itemdescr }
1660
- \pnum
1661
- \result
1662
- \keyword {void}
1663
-
1664
1644
\pnum
1665
1645
\effects
1666
1646
Equivalent to \tcode {a.assign(il.begin(), il.end())}.
1761
1741
\end {itemdecl }
1762
1742
1763
1743
\begin {itemdescr }
1764
- \pnum
1765
- \result
1766
- \tcode {reference; const_reference} for constant \tcode {a}.
1767
-
1768
1744
\pnum
1769
1745
\effects
1770
1746
Equivalent to:
3045
3021
\end {itemdecl }
3046
3022
3047
3023
\begin {itemdescr }
3048
- \pnum
3049
- \result
3050
- \keyword {void}
3051
-
3052
3024
\pnum
3053
3025
\effects
3054
3026
Equivalent to \tcode {a.insert(il.begin(), il.end())}.
3402
3374
\end {itemdecl }
3403
3375
3404
3376
\begin {itemdescr }
3405
- \pnum
3406
- \result
3407
- \keyword {void}
3408
-
3409
3377
\pnum
3410
3378
\effects
3411
3379
Equivalent to \tcode {a.erase(a.begin(), a.end())}.
3512
3480
\pnum
3513
3481
\effects
3514
3482
Equivalent to: \tcode {return b.find(k) != b.end();}
3515
-
3516
- \pnum
3517
- \complexity
3518
- Logarithmic.
3519
3483
\end {itemdescr }
3520
3484
3521
3485
\indexordmem {contains}%
3531
3495
\pnum
3532
3496
\effects
3533
3497
Equivalent to: \tcode {return a_tran.find(ke) != a_tran.end();}
3534
-
3535
- \pnum
3536
- \complexity
3537
- Logarithmic.
3538
3498
\end {itemdescr }
3539
3499
3540
3500
\indexordmem {lower_bound}%
4630
4590
\end {itemdecl }
4631
4591
4632
4592
\begin {itemdescr }
4633
- \pnum
4634
- \result
4635
- \keyword {void}
4636
-
4637
4593
\pnum
4638
4594
\effects
4639
4595
Equivalent to \tcode {a.insert(il.begin(), il.end())}.
5074
5030
\end {itemdecl }
5075
5031
5076
5032
\begin {itemdescr }
5077
- \pnum
5078
- \result
5079
- \tcode {bool}
5080
-
5081
5033
\pnum
5082
5034
\effects
5083
5035
Equivalent to \tcode {b.find(k) != b.end()}.
5089
5041
\end {itemdecl }
5090
5042
5091
5043
\begin {itemdescr }
5092
- \pnum
5093
- \result
5094
- \tcode {bool}
5095
-
5096
5044
\pnum
5097
5045
\effects
5098
5046
Equivalent to \tcode {a_tran.find(ke) != a_tran.end()}.
5409
5357
\end {itemdecl }
5410
5358
5411
5359
\begin {itemdescr }
5412
- \pnum
5413
- \result
5414
- \keyword {void}
5415
-
5416
5360
\pnum
5417
5361
\effects
5418
5362
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.
5423
5363
\end {itemdescr }
5424
5364
5425
5365
\pnum
You can’t perform that action at this time.
0 commit comments