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