They are completely different beasts.
std::vector allocates its memory from regular C++ heap and frees it when it goes out of scope.
^ is not for smart pointers. It is for managed pointers - they get garbage collected to free the memory.
Jump to content
Martins Mozeiko hasn't added any contacts yet.