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 423
423
\end {itemdecl }
424
424
425
425
\begin {itemdescr }
426
- \pnum
427
- \result
428
- \keyword {void}
429
-
430
426
\pnum
431
427
\effects
432
428
Equivalent to \tcode {a.swap(b)}.
1438
1434
\end {itemdecl }
1439
1435
1440
1436
\begin {itemdescr }
1441
- \pnum
1442
- \result
1443
- \tcode {iterator}
1444
-
1445
1437
\pnum
1446
1438
\effects
1447
1439
Equivalent to \tcode {a.insert(p, il.begin(), il.end())}.
1448
-
1449
- \pnum
1450
- \returns
1451
- \begin {removedblock }
1452
- An iterator
1453
- that points to the copy of the first element inserted into \tcode {a}, or
1454
- \tcode {p} if \tcode {il} is empty.
1455
- \end {removedblock }
1456
1440
\end {itemdescr }
1457
1441
1458
1442
\begin {itemdecl }
1563
1547
\end {itemdecl }
1564
1548
1565
1549
\begin {itemdescr }
1566
- \pnum
1567
- \result
1568
- \keyword {void}
1569
-
1570
1550
\pnum
1571
1551
\effects
1572
1552
Equivalent to \tcode {a.assign(il.begin(), il.end())}.
1667
1647
\end {itemdecl }
1668
1648
1669
1649
\begin {itemdescr }
1670
- \pnum
1671
- \result
1672
- \tcode {reference; const_reference} for constant \tcode {a}.
1673
-
1674
1650
\pnum
1675
1651
\effects
1676
1652
Equivalent to:
2948
2924
\end {itemdecl }
2949
2925
2950
2926
\begin {itemdescr }
2951
- \pnum
2952
- \result
2953
- \keyword {void}
2954
-
2955
2927
\pnum
2956
2928
\effects
2957
2929
Equivalent to \tcode {a.insert(il.begin(), il.end())}.
3305
3277
\end {itemdecl }
3306
3278
3307
3279
\begin {itemdescr }
3308
- \pnum
3309
- \result
3310
- \keyword {void}
3311
-
3312
3280
\pnum
3313
3281
\effects
3314
3282
Equivalent to \tcode {a.erase(a.begin(), a.end())}.
3415
3383
\pnum
3416
3384
\effects
3417
3385
Equivalent to: \tcode {return b.find(k) != b.end();}
3418
-
3419
- \pnum
3420
- \complexity
3421
- Logarithmic.
3422
3386
\end {itemdescr }
3423
3387
3424
3388
\indexordmem {contains}%
3434
3398
\pnum
3435
3399
\effects
3436
3400
Equivalent to: \tcode {return a_tran.find(ke) != a_tran.end();}
3437
-
3438
- \pnum
3439
- \complexity
3440
- Logarithmic.
3441
3401
\end {itemdescr }
3442
3402
3443
3403
\indexordmem {lower_bound}%
4533
4493
\end {itemdecl }
4534
4494
4535
4495
\begin {itemdescr }
4536
- \pnum
4537
- \result
4538
- \keyword {void}
4539
-
4540
4496
\pnum
4541
4497
\effects
4542
4498
Equivalent to \tcode {a.insert(il.begin(), il.end())}.
4977
4933
\end {itemdecl }
4978
4934
4979
4935
\begin {itemdescr }
4980
- \pnum
4981
- \result
4982
- \tcode {bool}
4983
-
4984
4936
\pnum
4985
4937
\effects
4986
4938
Equivalent to \tcode {b.find(k) != b.end()}.
4992
4944
\end {itemdecl }
4993
4945
4994
4946
\begin {itemdescr }
4995
- \pnum
4996
- \result
4997
- \tcode {bool}
4998
-
4999
4947
\pnum
5000
4948
\effects
5001
4949
Equivalent to \tcode {a_tran.find(ke) != a_tran.end()}.
5312
5260
\end {itemdecl }
5313
5261
5314
5262
\begin {itemdescr }
5315
- \pnum
5316
- \result
5317
- \keyword {void}
5318
-
5319
5263
\pnum
5320
5264
\effects
5321
5265
Equivalent to \tcode {a.rehash(ceil(n / a.max_load_factor()))}.
5322
-
5323
- \pnum
5324
- \complexity
5325
- Average case linear in \tcode {a.size()}, worst case quadratic.
5326
5266
\end {itemdescr }
5327
5267
5328
5268
\pnum
You can’t perform that action at this time.
0 commit comments