Compartir a través de


CAutoVectorPtrElementTraits Class

This class provides methods, static functions, and typedefs useful when creating collections of smart pointers using vector new and delete operators.

template<
   typename T
>
class CAutoVectorPtrElementTraits : public CDefaultElementTraits<
   ATL::CAutoVectorPtr< T >
>

Parameters

  • T
    The pointer type.

Remarks

This class provides methods, static functions, and typedefs for aiding the creation of collection class objects containing smart pointers. Unlike CAutoPtrElementTraits, this class uses vector new and delete operators.

Requirements

Header: atlcoll.h

See Also

Reference

CDefaultElementTraits Class

CAutoVectorPtr Class

Other Resources

CAutoVectorPtrElementTraits Members

ATL Class Overview