13 auto it =
m_map.find(k);
24 auto it =
m_map.find(k);
26 return found? &(it->second) : static_cast<value_type const*>(
nullptr);
31 return m_map.insert(std::make_pair(v.
id(),
v)).second;
void clear()
Not thread safe.
U second(std::pair< T, U > const &p)
bool getMapped(key_type const &k, value_type &result) const
tbb::concurrent_unordered_map< key_type, value_type, key_hash > m_map
static ParentageRegistry * instance()
bool insertMapped(value_type const &v)