Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this method to rehash the CAtlMap object.
void Rehash(
UINT nBins = 0
);
Parameters
- nBins
The new number of bins to use in the hash table. See CAtlMap::CAtlMap for an explanation.
Remarks
If nBins is 0, CAtlMap calculates a reasonable number based on the number of elements in the map and the optimal load setting. Normally the rehashing process is automatic, but if CAtlMap::DisableAutoRehash has been called, this method will perform the necessary resizing.
Requirements
Header: atlcoll.h