Return the bucket index for the specified transparent key.
Declared in <bslstl_unorderedmultimap.h>
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;
Note: implemented inline due to Sun CC compilation error.
index of the bucket for key
| Name | Description |
|---|---|
| key | transparent key whose bucket index is returned |