Share via


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.

Members

Public Methods

Name

Description

CDefaultHashTraits::Hash

(Static) Call this function to calculate a hash value for a given element.

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

Other Resources

ATL Class Overview