Return the index of the bucket, in the array of buckets of this container, where a value equivalent to the specified key would be inserted.
Synopses
Declared in <bslstl_unorderedset.h>
Return the index of the bucket, in the array of buckets of this container, where a value equivalent to the specified key would be inserted.
size_type
bucket(key_type const& key) const;
Return the index of the bucket, in the array of buckets of this container, where a value equivalent to the specified key would be inserted.
template<class LOOKUP_KEY>
size_type
bucket(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
&& BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
Created with MrDocs