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++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -