C++ ~set destructor
C++ set destructor is used to destroy all the elements of set container and deallocate all the storage memory allocated by the set container.
Linear in set::size (destructors).
All iterators, references and pointers are invalidated.
The container set and all its elements are modified.
This function never throws exceptions.