The
std::vector
and the
CArray
are two different containers. They may server the same purpose, however they are not interchangeable (their public interface is different). If you can, use
std::vector
, since it is better.
[update]
You may alternatively use a
CArray < MtPoint2d, MtPoint2d >
or a
std::vector < MtPoint2d >
for the same purpose.
[/update]