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.

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