Searched refs:get_key (Results 1 – 1 of 1) sorted by relevance
60 inline void AddToMap(std::map<K, T> *dst, Iterable &src, KeyGetter get_key, in AddToMap() argument63 dst->insert(std::make_pair(get_key(&element), get_value(&element))); in AddToMap()68 inline void AddToSet(std::set<K> *dst, Iterable &src, KeyGetter get_key) { in AddToSet() argument70 dst->insert(get_key(element)); in AddToSet()