共用方式為


CDefaultHashTraits Class

This class provides a static function for calculating hash values.

template<
   typename T
>
class CDefaultHashTraits

Parameters

  • T
    The type of data to be stored in the collection.

Remarks

This class contains a single static function that returns a hash value for a given element. This class is utilized by the CDefaultElementTraits Class.

For more information, see ATL Collection Classes.

Requirements

Header: atlcoll.h

See Also

Concepts

CDefaultHashTraits Members

ATL Class Overview