Luna::UnorderedMultiMap::bucket

usize bucket(const key_type &key) const

Gets the index of the bucket that stores the specified key.

Parameters

  • in key

    The key to check.

Return value

Returns the index of the bucket that stores the specified key.

Valid Usage