C++ ~set destructorC++ set destructor is used to destroy all the elements of set container and deallocate all the storage memory allocated by the set container. SyntaxParameterNone Return valueNone ComplexityLinear in set::size (destructors). Iterator validityAll iterators, references and pointers are invalidated. Data RacesThe container set and all its elements are modified. Exception SafetyThis function never throws exceptions.
Next TopicSet operator=() Function
|