concurrent_unordered_map::unsafe_bucket Method

Returns the bucket index that a specific key maps to in this container.

size_type unsafe_bucket(
   const key_type& _Keyval
) const;

Parameters

  • _Keyval
    The element key being searched for.

Return Value

The bucket index for the key in this container.

Requirements

Header: internal_concurrent_hash.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_map Class