Return the longest matching key prefix with an associated value.
Declared in <ball_categorymanager_radixtree.h>
Return the longest matching key prefix with an associated value.
std::string_view
findLongestCommonPrefix(
OptValueCRef* value,
std::string_view const& key) const;
» more...
Return the longest matching key prefix with an associated value.
std::string_view
findLongestCommonPrefix(
OptValueRef* value,
std::string_view const& key);
» more...
longest matching prefix, or an empty string view if none
| Name | Description |
|---|---|
| value | optional out-parameter for the matched value |
| key | key whose longest matching prefix is sought |