Return a modifiable reference to the value for key, if present.

Synopsis

Declared in <ball_categorymanager_radixtree.h>

CategoryManager_RadixTree<t_VALUE>::OptValueRef
find(std::string_view const& key);

Description

Return an optional containing a reference to the 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.

Return Value

optional reference to the value, or empty if not found

Parameters

Name

Description

key

key to look up

Created with MrDocs