[#BloombergLP-ball-CategoryManager_RadixTree-eraseChildrenOfPrefix] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree]::eraseChildrenOfPrefix :relfileprefix: ../../../ :mrdocs: Remove all children of the entry matching the specified `prefix`, but not the entry with the prefix itself. If unused (no value, no children) nodes remain remove those, too. If no entry exists for `prefix` remove nothing. Return the number of entries removed. == 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] eraseChildrenOfPrefix(std::string_view const& prefix); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#