Return the bucket index for the specified transparent key.
Synopsis
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;
Description
Note: implemented inline due to Sun CC compilation error.
Return Value
index of the bucket for key
Parameters
Name |
Description |
key |
transparent key whose bucket index is returned |
Created with MrDocs