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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

c# - ItextSharp font color issue in ver 5.5.4+ -

how does one get csharp-sqlite to throw exceptions for duplicates or foreign key constraint violations -