Thread-safe map for context objects.
void iterate(F &&func) const
const Item * find(Key key) const
bool contains(Key key) const
Item * operator[](Key key)
Access or insert specified element.
Item * insert(Key key, std::unique_ptr< Item > &&item)
Inserts an element or assigns to the current element if the key already exists.