[#BloombergLP-bdlcc-Cache-eraseBulk-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Cache.adoc[Cache]::eraseBulk :relfileprefix: ../../../ :mrdocs: `eraseBulk` overloads == Synopses Declared in `<bdlcc_cache.h>` Remove the items having the specified `keys` from this cache. Invoke the post‐eviction callback for each removed item. Return the number of items successfully removed. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/Cache/eraseBulk-07.adoc[eraseBulk](xref:bsl/vector-00d.adoc[bsl::vector<KEY>] const& keys); ---- [.small]#xref:BloombergLP/bdlcc/Cache/eraseBulk-07.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITERATOR> int xref:BloombergLP/bdlcc/Cache/eraseBulk-05.adoc[eraseBulk]( INPUT_ITERATOR begin, INPUT_ITERATOR end); ---- [.small]#xref:BloombergLP/bdlcc/Cache/eraseBulk-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#