Namespaces
Variants
Views
Actions

std::unordered_multiset::bucket

From cppreference.com
 
 
 
 
size_type bucket( const Key& key ) const;
(since C++11)

Returns the bucket index for the key key.

Contents

[edit] Parameters

key - the value of the key to examine

[edit] Return value

bucket index for the key key.

[edit] Complexity

Constant

[edit] See also

returns the number of elements in specific bucket
(public member function) [edit]