Call the specified functor for each key‐value pair in this tree.
Synopsis
Declared in <ball_categorymanager_radixtree.h>
template<class t_FUNCTOR>
void
forEach(t_FUNCTOR const& functor) const;
Description
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.
Parameters
Name |
Description |
functor |
callable invoked for each key‐value pair |
Created with MrDocs