Cpp Coding Standards/STL/EraseMem

From OpenOffice.org Wiki

Jump to: navigation, search

Use this idiom to actually release all memory claimed by an STL container:

container<T>().swap(myContainer);
Personal tools
Create a book