BloombergLP::bdlcc::SkipList<long long, EventData>::removeAll

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>

int
removeAll();