i'm reviving an old post... my real question was that if thisVector.clear() will only clear the element then how can I delete the vector so the used memory is returned to the OS. Or is it that garbage collection procedure will take care of this...
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.