[#BloombergLP-ball-CategoryManager_RadixTree-erasePrefix] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree]::erasePrefix :relfileprefix: ../../../ :mrdocs: Remove from this tree all entries with keys that have the specified `prefix`, including the entry for the `prefix` itself if it exists. Return the number of entries removed. Note that this method removes all nodes whose keys start with `prefix`, not just those that have a value. == Synopsis Declared in `<ball_categorymanager_radixtree.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/CategoryManager_RadixTree/size_type.adoc[CategoryManager_RadixTree<t_VALUE>::size_type] erasePrefix(std::string_view const& prefix); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#