Add constructors to the methods for controlling bucket size in unordered containers.

[SVN r54914]
This commit is contained in:
Daniel James
2009-07-12 18:03:35 +00:00
parent 7e1dbc4cb7
commit 6d1aece43a

View File

@ -115,6 +115,15 @@ or close to the hint - unless your hint is unreasonably small or large.
[table Methods for Controlling Bucket Size
[[Method] [Description]]
[
[`X(size_type n)`]
[Construct an empty container with at least `n` buckets (`X` is the container type).]
]
[
[`X(InputIterator i, InputIterator j, size_type n)`]
[Construct an empty container with at least `n` buckets and insert elements
from the range \[`i`, `j`) (`X` is the container type).]
]
[
[`float load_factor() const`]
[The average number of elements per bucket.]