File tree Expand file tree Collapse file tree 1 file changed +0
-56
lines changed Expand file tree Collapse file tree 1 file changed +0
-56
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())}.
3045
3025
\end {itemdecl }
3046
3026
3047
3027
\begin {itemdescr }
3048
- \pnum
3049
- \result
3050
- \keyword {void}
3051
-
3052
3028
\pnum
3053
3029
\effects
3054
3030
Equivalent to \tcode {a.insert(il.begin(), il.end())}.
3402
3378
\end {itemdecl }
3403
3379
3404
3380
\begin {itemdescr }
3405
- \pnum
3406
- \result
3407
- \keyword {void}
3408
-
3409
3381
\pnum
3410
3382
\effects
3411
3383
Equivalent to \tcode {a.erase(a.begin(), a.end())}.
3512
3484
\pnum
3513
3485
\effects
3514
3486
Equivalent to: \tcode {return b.find(k) != b.end();}
3515
-
3516
- \pnum
3517
- \complexity
3518
- Logarithmic.
3519
3487
\end {itemdescr }
3520
3488
3521
3489
\indexordmem {contains}%
3531
3499
\pnum
3532
3500
\effects
3533
3501
Equivalent to: \tcode {return a_tran.find(ke) != a_tran.end();}
3534
-
3535
- \pnum
3536
- \complexity
3537
- Logarithmic.
3538
3502
\end {itemdescr }
3539
3503
3540
3504
\indexordmem {lower_bound}%
4630
4594
\end {itemdecl }
4631
4595
4632
4596
\begin {itemdescr }
4633
- \pnum
4634
- \result
4635
- \keyword {void}
4636
-
4637
4597
\pnum
4638
4598
\effects
4639
4599
Equivalent to \tcode {a.insert(il.begin(), il.end())}.
5074
5034
\end {itemdecl }
5075
5035
5076
5036
\begin {itemdescr }
5077
- \pnum
5078
- \result
5079
- \tcode {bool}
5080
-
5081
5037
\pnum
5082
5038
\effects
5083
5039
Equivalent to \tcode {b.find(k) != b.end()}.
5089
5045
\end {itemdecl }
5090
5046
5091
5047
\begin {itemdescr }
5092
- \pnum
5093
- \result
5094
- \tcode {bool}
5095
-
5096
5048
\pnum
5097
5049
\effects
5098
5050
Equivalent to \tcode {a_tran.find(ke) != a_tran.end()}.
5409
5361
\end {itemdecl }
5410
5362
5411
5363
\begin {itemdescr }
5412
- \pnum
5413
- \result
5414
- \keyword {void}
5415
-
5416
5364
\pnum
5417
5365
\effects
5418
5366
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
5367
\end {itemdescr }
5424
5368
5425
5369
\pnum
You can’t perform that action at this time.
0 commit comments