[#BloombergLP-bdlcc-SkipList-0b-removeAll-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0b.adoc[SkipList<long long, EventData>]::removeAll :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdlcc_skiplist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int removeAll(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#