Remove all items and append raw references to removed.
Synopsis
Declared in <bdlcc_skiplist.h>
int
removeAllRaw(bsl::vector<Pair*>* removed);
Description
Remove all items from this list. Append to the specified removed vector pointers that can be used to refer to the removed items. Each such pointer must be released (using releaseReferenceRaw) when it is no longer needed. The pairs appended to removed will be in ascending order by key value. Return the number of items that were removed from this list.
Return Value
the number of items that were removed
Parameters
Name |
Description |
removed |
vector receiving raw pointers to removed pairs |
Created with MrDocs