[#BloombergLP-bdlcc-Cache-eraseBulk-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Cache.adoc[Cache]::eraseBulk :relfileprefix: ../../../ :mrdocs: Remove the items having the keys in the specified range `[ begin, end )]`, from this cache. Invoke the post‐eviction callback for each removed item. Return the number of items successfully removed. == Synopsis Declared in `<bdlcc_cache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITERATOR> int eraseBulk( INPUT_ITERATOR begin, INPUT_ITERATOR end); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#