HashKey
template<classARG_KEY**>**
UINTAFXAPIHashKey(ARG_KEYkey);
Return Value
The key’s hash value.
Parameters
ARG_KEY
Template parameter specifying the data type used to access map keys.
key
The key whose hash value is to be calculated.
Remarks
Calculates a hash value for the given key.
This function is called directly by CMap::RemoveKey and indirectly by CMap::Lookup and CMap::Operator [].
The default implementation creates a hash value by shifting key rightward by four positions. Override this function so that it returns hash values appropriate for your application.
See Also CMap