Skip to content

Commit f33532e

Browse files
committed
[unord.req] Move library name index entries to library name index.
1 parent faa67d5 commit f33532e

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

source/containers.tex

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2224,8 +2224,8 @@
22242224
\endhead
22252225
%%
22262226
\tcode{X::key_type} &
2227-
\indextext{unordered associative containers!\idxcode{key_type}}%
2228-
\indextext{\idxcode{key_type}!unordered associative containers}%
2227+
\indexlibrary{unordered associative containers!\idxcode{key_type}}%
2228+
\indexlibrary{\idxcode{key_type}!unordered associative containers}%
22292229
\tcode{Key} &
22302230
&
22312231
compile time \\ \rowsep
@@ -2249,8 +2249,8 @@
22492249
& \tcode{Hash}
22502250
& \tcode{Hash} shall be a unary function object type such that the expression
22512251
\tcode{hf(k)} has type \tcode{size_t}.%
2252-
\indextext{unordered associative containers!\idxcode{hasher}}%
2253-
\indextext{\idxcode{hasher}!unordered associative containers}%
2252+
\indexlibrary{unordered associative containers!\idxcode{hasher}}%
2253+
\indexlibrary{\idxcode{hasher}!unordered associative containers}%
22542254
& compile time
22552255
\\ \rowsep
22562256
%
@@ -2259,8 +2259,8 @@
22592259
& \requires\ \tcode{Pred} is \tcode{CopyConstructible}.\br
22602260
\tcode{Pred} shall be a binary predicate that takes two arguments
22612261
of type \tcode{Key}. \tcode{Pred} is an equivalence relation.%
2262-
\indextext{unordered associative containers!\idxcode{key_equal}}%
2263-
\indextext{\idxcode{key_equal}!unordered associative containers}%
2262+
\indexlibrary{unordered associative containers!\idxcode{key_equal}}%
2263+
\indexlibrary{\idxcode{key_equal}!unordered associative containers}%
22642264
& compile time
22652265
\\ \rowsep
22662266
%
@@ -2271,8 +2271,8 @@
22712271
& A \tcode{local_iterator} object may be used to iterate through a
22722272
single bucket, but may not be used to iterate across
22732273
buckets.%
2274-
\indextext{unordered associative containers!\idxcode{local_iterator}}%
2275-
\indextext{\idxcode{local_iterator}!unordered associative containers}%
2274+
\indexlibrary{unordered associative containers!\idxcode{local_iterator}}%
2275+
\indexlibrary{\idxcode{local_iterator}!unordered associative containers}%
22762276
& compile time
22772277
\\ \rowsep
22782278
%
@@ -2283,8 +2283,8 @@
22832283
& A \tcode{const_local_iterator} object may be used to iterate through a
22842284
single bucket, but may not be used to iterate across
22852285
buckets.%
2286-
\indextext{unordered associative containers!\idxcode{const_local_iterator}}%
2287-
\indextext{\idxcode{const_local_iterator}!unordered associative containers}%
2286+
\indexlibrary{unordered associative containers!\idxcode{const_local_iterator}}%
2287+
\indexlibrary{\idxcode{const_local_iterator}!unordered associative containers}%
22882288
& compile time
22892289
\\ \rowsep
22902290
%
@@ -2428,16 +2428,16 @@
24282428
\tcode{b.hash_function()}
24292429
& \tcode{hasher}
24302430
& Returns \tcode{b}'s hash function.%
2431-
\indextext{unordered associative containers!\idxcode{hash_function}}%
2432-
\indextext{\idxcode{hash_function}!unordered associative containers}%
2431+
\indexlibrary{unordered associative containers!\idxcode{hash_function}}%
2432+
\indexlibrary{\idxcode{hash_function}!unordered associative containers}%
24332433
& constant
24342434
\\ \rowsep
24352435
%
24362436
\tcode{b.key_eq()}
24372437
& \tcode{key_equal}
24382438
& Returns \tcode{b}'s key equality predicate.%
2439-
\indextext{unordered associative containers!\idxcode{key_eq}}%
2440-
\indextext{\idxcode{key_eq}!unordered associative containers}%
2439+
\indexlibrary{unordered associative containers!\idxcode{key_eq}}%
2440+
\indexlibrary{\idxcode{key_eq}!unordered associative containers}%
24412441
& constant
24422442
\\ \rowsep
24432443
%
@@ -2485,8 +2485,8 @@
24852485
component of the returned pair indicates whether the insertion
24862486
takes place, and the \tcode{iterator} component points to the element
24872487
with key equivalent to the key of \tcode{t}.%
2488-
\indextext{unordered associative containers!\idxcode{insert}}%
2489-
\indextext{\idxcode{insert}!unordered associative containers}%
2488+
\indexlibrary{unordered associative containers!\idxcode{insert}}%
2489+
\indexlibrary{\idxcode{insert}!unordered associative containers}%
24902490
& Average case \bigoh{1}, worst case \bigoh{\tcode{a_uniq.}\br\tcode{size()}}.
24912491
\\ \rowsep
24922492
%
@@ -2497,8 +2497,8 @@
24972497
\tcode{CopyInsertable} into \tcode{X}.\br
24982498
\effects\ Inserts \tcode{t}, and returns an iterator pointing to the newly
24992499
inserted element.
2500-
\indextext{unordered associative containers!\idxcode{insert}}%
2501-
\indextext{\idxcode{insert}!unordered associative containers}%
2500+
\indexlibrary{unordered associative containers!\idxcode{insert}}%
2501+
\indexlibrary{\idxcode{insert}!unordered associative containers}%
25022502
& Average case \bigoh{1}, worst case \bigoh{\tcode{a_eq.}\br\tcode{size()}}.
25032503
\\ \rowsep
25042504
%
@@ -2511,8 +2511,8 @@
25112511
to the element with the key equivalent to that of \tcode{t}. The
25122512
iterator \tcode{p} is a hint pointing to where the search should
25132513
start. Implementations are permitted to ignore the hint.%
2514-
\indextext{unordered associative containers!\idxcode{insert}}%
2515-
\indextext{\idxcode{insert}!unordered associative containers}%
2514+
\indexlibrary{unordered associative containers!\idxcode{insert}}%
2515+
\indexlibrary{\idxcode{insert}!unordered associative containers}%
25162516
& Average case \bigoh{1}, worst case \bigoh{\tcode{a.size()}}.
25172517
\\ \rowsep
25182518
%
@@ -2521,8 +2521,8 @@
25212521
& \requires\ \tcode{value_type} shall be \tcode{EmplaceConstructible} into \tcode{X} from \tcode{*i}.\br
25222522
\requires \tcode{i} and \tcode{j} are not iterators in \tcode{a}.
25232523
Equivalent to \tcode{a.insert(t)} for each element in \tcode{[i,j)}.%
2524-
\indextext{unordered associative containers!\idxcode{insert}}%
2525-
\indextext{\idxcode{insert}!unordered associative containers}%
2524+
\indexlibrary{unordered associative containers!\idxcode{insert}}%
2525+
\indexlibrary{\idxcode{insert}!unordered associative containers}%
25262526
& Average case \bigoh{N}, where $N$ is \tcode{distance(i, j)}.
25272527
Worst case \bigoh{N(\tcode{a.size()}\brk{}+\brk{}1)}.
25282528
\\ \rowsep
@@ -2618,17 +2618,17 @@
26182618
& \tcode{iterator}
26192619
& Erases the element pointed to by \tcode{q}. Returns the
26202620
iterator immediately following \tcode{q} prior to the erasure.
2621-
\indextext{unordered associative containers!\idxcode{erase}}%
2622-
\indextext{\idxcode{erase}!unordered associative containers}%
2621+
\indexlibrary{unordered associative containers!\idxcode{erase}}%
2622+
\indexlibrary{\idxcode{erase}!unordered associative containers}%
26232623
& Average case \bigoh{1}, worst case \bigoh{\tcode{a.size()}}.
26242624
\\ \rowsep
26252625
%
26262626
\tcode{a.erase(r)}
26272627
& \tcode{iterator}
26282628
& Erases the element pointed to by \tcode{r}. Returns the
26292629
iterator immediately following \tcode{r} prior to the erasure.
2630-
\indextext{unordered associative containers!\idxcode{erase}}%
2631-
\indextext{\idxcode{erase}!unordered associative containers}%
2630+
\indexlibrary{unordered associative containers!\idxcode{erase}}%
2631+
\indexlibrary{\idxcode{erase}!unordered associative containers}%
26322632
& Average case \bigoh{1}, worst case \bigoh{\tcode{a.size()}}.
26332633
\\ \rowsep
26342634
%
@@ -2637,8 +2637,8 @@
26372637
& Erases all elements in the range \tcode{[q1, q2)}. Returns
26382638
the iterator immediately following the erased elements prior to the
26392639
erasure.%
2640-
\indextext{unordered associative containers!\idxcode{erase}}%
2641-
\indextext{\idxcode{erase}!unordered associative containers}%
2640+
\indexlibrary{unordered associative containers!\idxcode{erase}}%
2641+
\indexlibrary{\idxcode{erase}!unordered associative containers}%
26422642
& Average case linear in \tcode{distance(q1, q2)},
26432643
worst case \bigoh{\tcode{a.size()}}.
26442644
\\ \rowsep
@@ -2647,25 +2647,25 @@
26472647
& \tcode{void}
26482648
& Erases all elements in the container.
26492649
\postconditions \tcode{a.empty()} returns \tcode{true}%
2650-
\indextext{unordered associative containers!\idxcode{clear}}%
2651-
\indextext{\idxcode{clear}!unordered associative containers}%
2650+
\indexlibrary{unordered associative containers!\idxcode{clear}}%
2651+
\indexlibrary{\idxcode{clear}!unordered associative containers}%
26522652
& Linear in \tcode{a.size()}.
26532653
\\ \rowsep
26542654
%
26552655
\tcode{b.find(k)}
26562656
& \tcode{iterator}; \br \tcode{const_iterator} for const \tcode{b}.
26572657
& Returns an iterator pointing to an element with key equivalent to
26582658
\tcode{k}, or \tcode{b.end()} if no such element exists.%
2659-
\indextext{unordered associative containers!\idxcode{find}}%
2660-
\indextext{\idxcode{find}!unordered associative containers}%
2659+
\indexlibrary{unordered associative containers!\idxcode{find}}%
2660+
\indexlibrary{\idxcode{find}!unordered associative containers}%
26612661
& Average case \bigoh{1}, worst case \bigoh{\tcode{b.size()}}.
26622662
\\ \rowsep
26632663
%
26642664
\tcode{b.count(k)}
26652665
& \tcode{size_type}
26662666
& Returns the number of elements with key equivalent to \tcode{k}.%
2667-
\indextext{unordered associative containers!\idxcode{count}}%
2668-
\indextext{\idxcode{count}!unordered associative containers}%
2667+
\indexlibrary{unordered associative containers!\idxcode{count}}%
2668+
\indexlibrary{\idxcode{count}!unordered associative containers}%
26692669
& Average case \bigoh{\tcode{b.count(k)}}, worst case \bigoh{\tcode{b.size()}}.
26702670
\\ \rowsep
26712671
%
@@ -2675,26 +2675,26 @@
26752675
& Returns a range containing all elements with keys equivalent to
26762676
\tcode{k}. Returns \tcode{make_pair(b.end(), b.end())} if
26772677
no such elements exist.%
2678-
\indextext{unordered associative containers!\idxcode{equal_range}}%
2679-
\indextext{\idxcode{equal_range}!unordered associative containers}%
2678+
\indexlibrary{unordered associative containers!\idxcode{equal_range}}%
2679+
\indexlibrary{\idxcode{equal_range}!unordered associative containers}%
26802680
& Average case \bigoh{\tcode{b.count(k)}}. Worst case
26812681
\bigoh{\tcode{b.size()}}.
26822682
\\ \rowsep
26832683
%
26842684
\tcode{b.bucket_count()}
26852685
& \tcode{size_type}
26862686
& Returns the number of buckets that \tcode{b} contains.%
2687-
\indextext{unordered associative containers!\idxcode{bucket_count}}%
2688-
\indextext{\idxcode{bucket_count}!unordered associative containers}%
2687+
\indexlibrary{unordered associative containers!\idxcode{bucket_count}}%
2688+
\indexlibrary{\idxcode{bucket_count}!unordered associative containers}%
26892689
& Constant
26902690
\\ \rowsep
26912691
%
26922692
\tcode{b.max_bucket_count()}
26932693
& \tcode{size_type}
26942694
& Returns an upper bound on the number of buckets that \tcode{b} might
26952695
ever contain.%
2696-
\indextext{unordered associative containers!\idxcode{max_bucket_count}}%
2697-
\indextext{\idxcode{max_bucket_count}!unordered associative containers}%
2696+
\indexlibrary{unordered associative containers!\idxcode{max_bucket_count}}%
2697+
\indexlibrary{\idxcode{max_bucket_count}!unordered associative containers}%
26982698
& Constant
26992699
\\ \rowsep
27002700
%
@@ -2705,17 +2705,17 @@
27052705
Returns the index of the bucket in which elements with keys equivalent
27062706
to \tcode{k} would be found, if any such element existed.
27072707
\postconditions the return value shall be in the range \tcode{[0, b.bucket_count())}.%
2708-
\indextext{unordered associative containers!\idxcode{bucket}}%
2709-
\indextext{\idxcode{bucket}!unordered associative containers}%
2708+
\indexlibrary{unordered associative containers!\idxcode{bucket}}%
2709+
\indexlibrary{\idxcode{bucket}!unordered associative containers}%
27102710
& Constant
27112711
\\ \rowsep
27122712
%
27132713
\tcode{b.bucket_size(n)}
27142714
& \tcode{size_type}
27152715
& \requires \tcode{n} shall be in the range \tcode{[0, b.bucket_count())}.
27162716
Returns the number of elements in the $\texttt{n}^{\textrm{ th}}$ bucket.%
2717-
\indextext{unordered associative containers!\idxcode{bucket_size}}%
2718-
\indextext{\idxcode{bucket_size}!unordered associative containers}%
2717+
\indexlibrary{unordered associative containers!\idxcode{bucket_size}}%
2718+
\indexlibrary{\idxcode{bucket_size}!unordered associative containers}%
27192719
& \bigoh{\tcode{b.bucket_}\-\tcode{size(n)}}
27202720
\\ \rowsep
27212721
%
@@ -2726,8 +2726,8 @@
27262726
\tcode{b.begin(n)} returns an iterator referring to the
27272727
first element in the bucket. If the bucket is empty, then
27282728
\tcode{b.begin(n) == b.end(n)}.%
2729-
\indextext{unordered associative containers!\idxcode{begin}}%
2730-
\indextext{\idxcode{begin}!unordered associative containers}%
2729+
\indexlibrary{unordered associative containers!\idxcode{begin}}%
2730+
\indexlibrary{\idxcode{begin}!unordered associative containers}%
27312731
& Constant
27322732
\\ \rowsep
27332733
%
@@ -2737,8 +2737,8 @@
27372737
& \requires \tcode{n} shall be in the range \tcode{[0, b.bucket_count())}.
27382738
\tcode{b.end(n)} returns an iterator which is the past-the-end
27392739
value for the bucket.%
2740-
\indextext{unordered associative containers!\idxcode{end}}%
2741-
\indextext{\idxcode{end}!unordered associative containers}%
2740+
\indexlibrary{unordered associative containers!\idxcode{end}}%
2741+
\indexlibrary{\idxcode{end}!unordered associative containers}%
27422742
& Constant
27432743
\\ \rowsep
27442744
%
@@ -2747,24 +2747,24 @@
27472747
& \requires \tcode{n} shall be in the range \tcode{[0, b.bucket_count())}.
27482748
Note: \tcode{[b.cbegin(n), b.cend(n))} is a valid range containing
27492749
all of the elements in the $\texttt{n}^{\textrm{ th}}$ bucket.%
2750-
\indextext{unordered associative containers!\idxcode{cbegin}}%
2751-
\indextext{\idxcode{cbegin}!unordered associative containers}%
2750+
\indexlibrary{unordered associative containers!\idxcode{cbegin}}%
2751+
\indexlibrary{\idxcode{cbegin}!unordered associative containers}%
27522752
& Constant
27532753
\\ \rowsep
27542754
%
27552755
\tcode{b.cend(n)}
27562756
& \tcode{const_local_iterator}
27572757
& \requires \tcode{n} shall be in the range \tcode{[0, b.bucket_count())}.%
2758-
\indextext{unordered associative containers!\idxcode{cend}}%
2759-
\indextext{\idxcode{cend}!unordered associative containers}%
2758+
\indexlibrary{unordered associative containers!\idxcode{cend}}%
2759+
\indexlibrary{\idxcode{cend}!unordered associative containers}%
27602760
& Constant
27612761
\\ \rowsep
27622762
%
27632763
\tcode{b.load_factor()}
27642764
& \tcode{float}
27652765
& Returns the average number of elements per bucket.%
2766-
\indextext{unordered associative containers!\idxcode{load_factor}}%
2767-
\indextext{\idxcode{load_factor}!unordered associative containers}%
2766+
\indexlibrary{unordered associative containers!\idxcode{load_factor}}%
2767+
\indexlibrary{\idxcode{load_factor}!unordered associative containers}%
27682768
& Constant
27692769
\\ \rowsep
27702770
%
@@ -2774,8 +2774,8 @@
27742774
less than or equal to. The container automatically increases the
27752775
number of buckets as necessary to keep the load factor below this
27762776
number.%
2777-
\indextext{unordered associative containers!\idxcode{max_load_factor}}%
2778-
\indextext{\idxcode{max_load_factor}!unordered associative containers}%
2777+
\indexlibrary{unordered associative containers!\idxcode{max_load_factor}}%
2778+
\indexlibrary{\idxcode{max_load_factor}!unordered associative containers}%
27792779
& Constant
27802780
\\ \rowsep
27812781
%
@@ -2790,8 +2790,8 @@
27902790
& \tcode{void}
27912791
& \postconditions \tcode{a.bucket_count() >= a.size() / a.max_load_factor()} and
27922792
\tcode{a.bucket_count() >= n}.%
2793-
\indextext{unordered associative containers!\idxcode{rehash}}%
2794-
\indextext{\idxcode{rehash}!unordered associative containers}%
2793+
\indexlibrary{unordered associative containers!\idxcode{rehash}}%
2794+
\indexlibrary{\idxcode{rehash}!unordered associative containers}%
27952795
& Average case linear in \tcode{a.size()}, worst case quadratic.
27962796
\\ \rowsep
27972797

0 commit comments

Comments
 (0)