Поделиться через


CStringElementTraitsI Class

This class provides static functions related to strings stored in collection class objects. It is similar to CStringElementTraits, but performs case-insensitive comparisons.

template<
   typename T,
   class CharTraits = CDefaultCharTraits< T::XCHAR >
>
class CStringElementTraitsI : public CElementTraitsBase< T >

Parameters

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

Remarks

This class provides static functions for comparing strings and for creating a hash value. These functions are useful when using a collection class to store string-based data. Use CStringRefElementTraits when the string objects are to be with dealt with as references.

For more information, see ATL Collection Classes.

Requirements

Header: atlcoll.h

See Also

Reference

CElementTraitsBase Class

CStringElementTraits Class

Other Resources

CStringElementTraitsI Members

ATL Class Overview