[#BloombergLP-bdlcc-SkipList-0a-removeAll-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::removeAll :relfileprefix: ../../../ :mrdocs: `removeAll` overloads == Synopses Declared in `<bdlcc_skiplist.h>` Remove all items from this list. Optionally specify `removed`, a vector to which to append handles to the removed nodes. The items appended to `removed` will be in ascending order by key value. Return the number of items that were removed from this list. Note that all references in `removed` must be released (i.e., destroyed) before this skip list is destroyed. Note that if `removed` is not specified, all removed elements will be released by this method. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/SkipList-0a/removeAll-01.adoc[removeAll](); ---- [.small]#xref:BloombergLP/bdlcc/SkipList-0a/removeAll-01.adoc[_» more..._]# Same as the preceding overload, appending handles to `removed`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/SkipList-0a/removeAll-0d.adoc[removeAll](xref:bsl/vector-00d.adoc[bsl::vector<PairHandle>]* removed); ---- [.small]#xref:BloombergLP/bdlcc/SkipList-0a/removeAll-0d.adoc[_» more..._]# Same as the preceding overload, appending handles to `removed`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/SkipList-0a/removeAll-00.adoc[removeAll](std::pmr::vector<PairHandle>* removed); ---- [.small]#xref:BloombergLP/bdlcc/SkipList-0a/removeAll-00.adoc[_» more..._]# Same as the preceding overload, appending handles to `removed`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/SkipList-0a/removeAll-0c.adoc[removeAll](std::vector<PairHandle>* removed); ---- [.small]#xref:BloombergLP/bdlcc/SkipList-0a/removeAll-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#