What is the use of class CTypedPtrArray?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bajajv
    New Member
    • Jun 2007
    • 152

    What is the use of class CTypedPtrArray?

    Hi,
    In CTypedPtrArray description in msdn, it is said that it can hold objects of CObArray or CPtrArray. But I am not able to figure out how they have implemented it. I mean how can they restrict which class we will be using as the base class. Why cant I give my own class if I implemented the functions of CTypedPtrArray in my code?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    CObArray contains an array of CObject objects. You derive your class from CObject.

    Comment

    Working...