#include "tier0/valve_minmax_on.h" #include "tier0/memdbgon.h" #include "utlvector.h" #include "tier0/memdbgoff.h" int main() { CUtlVectorIn the example above, a new CUtlVectorv; // add some elements to the vector v.AddToTail(1); v.AddToTail(2); v.AddToTail(3); // purge the vector to free memory v.Purge(); // add some more elements to the vector v.AddToTail(4); v.AddToTail(5); return 0; }