Cpp Coding Standards/STL/EraseMem
From Apache OpenOffice Wiki
< Cpp Coding Standards | STL(Redirected from Cpp Coding Standards/The Cpp Standard Template Library/EraseMem)
Use this idiom to actually release all memory claimed by an STL container:
container<T>().swap(myContainer);