C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
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. Syntax~set(); ParameterNone 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
|