Return a non-modifiable reference to the value for key, if present.
Declared in <ball_categorymanager_radixtree.h>
CategoryManager_RadixTree<t_VALUE>::OptValueCRef
find(std::string_view const& key) const;
Return an optional containing a reference to the non-modifiable value associated with the specified key, or an empty optional if the key is not found. The returned reference remains valid until the tree is modified.
optional reference to the value, or empty if not found
| Name | Description |
|---|---|
| key | key to look up |