Compartir a través de


CAtlMap::EnableAutoRehash

Call this method to enable automatic rehashing of the CAtlMap object.

void EnableAutoRehash( ) throw( );

Remarks

When automatic rehashing is enabled (which it is by default), the number of bins in the hash table will automatically be recalculated if the load value (the ratio of the number of bins to the number of elements stored in the array) exceeds the maximum or minimum values specified at the time the map is created.

EnableAutoRefresh is most often used after a call to CAtlMap::DisableAutoRehash.

Requirements

Header: atlcoll.h

See Also

Concepts

CAtlMap Class

CAtlMap Members

CAtlMap::DisableAutoRehash