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