[#BloombergLP-bdlcc-SkipList-0a-removeAll-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::removeAll
:relfileprefix: ../../../
:mrdocs:

Remove all items from this list&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
removeAll();
----

== Description

Optionally specify `removed`, a vector to which to append handles to the removed nodes&period; The items appended to `removed` will be in ascending order by key value&period; Return the number of items that were removed from this list&period; Note that all references in `removed` must be released (i&period;e&period;, destroyed) before this skip list is destroyed&period; Note that if `removed` is not specified, all removed elements will be released by this method&period;

== Return Value

the number of items that were removed


[.small]#Created with https://www.mrdocs.com[MrDocs]#
