Return the longest matching key prefix with an associated value.
Synopses
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;
Return the longest matching key prefix with an associated value.
std::string_view
findLongestCommonPrefix(
OptValueRef* value,
std::string_view const& key);
Return Value
longest matching prefix, or an empty string view if none
Parameters
Name |
Description |
value |
optional out‐parameter for the matched value |
key |
key whose longest matching prefix is sought |
Created with MrDocs