Namespaces
Variants
Views
Actions

std::unordered_multimap<Key,T,Hash,KeyEqual,Allocator>::load_factor

From cppreference.com
< cpp‎ | container‎ | unordered multimap
Revision as of 14:45, 6 June 2011 by P12 (Talk | contribs)

 
 
 
 
float load_factor() const;
(since C++11)

Returns the average number of elements per bucket, that is, size() divided by bucket_count().

Contents

Parameters

(none)

Return value

Average number of elements per bucket.

Complexity

Constant.

See also

manages maximum average number of elements per bucket
(public member function) [edit]