c++ - Difference between CPtrArray and CArray -
microsoft / msdn has 2 similar container classes: ctypedptrarray , carray.
ctypedptrarray supposed array of typed-pointers, while carray can array of type (including pointers), , see nothing in documentation suggest ctypedptrarray safer/faster/easier carray.
is there meaningful difference between these two?
ctypedptrarray<cptrarray, cmyfoo*> arrayone; carray<cmyfoo*, cmyfoo*> arraytwo;
Comments
Post a Comment