[#BloombergLP-ball-CategoryManager_RadixTree-forEach-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree]::forEach :relfileprefix: ../../../ :mrdocs: `forEach` overloads == Synopses Declared in `<ball_categorymanager_radixtree.h>` Call the specified `functor` for each key‐value pair in this tree. The `functor` should be a callable object that accepts two parameters: `const bsl::string_view&` for the key and `t_VALUE&` for the value. The order of visitation is unspecified. Noteice that the functor is able to modify the value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_FUNCTOR> void xref:BloombergLP/ball/CategoryManager_RadixTree/forEach-0f.adoc[forEach](t_FUNCTOR const& functor); ---- [.small]#xref:BloombergLP/ball/CategoryManager_RadixTree/forEach-0f.adoc[_» more..._]# Call the specified `functor` for each key‐value pair in this tree. The `functor` should be a callable object that accepts two parameters: `const bsl::string_view&` for the key and `const t_VALUE&` for the value. The order of visitation is unspecified. See also the manipulator variation that allows the functor to modify the value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_FUNCTOR> void xref:BloombergLP/ball/CategoryManager_RadixTree/forEach-07.adoc[forEach](t_FUNCTOR const& functor) const; ---- [.small]#xref:BloombergLP/ball/CategoryManager_RadixTree/forEach-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#