Home | History | Annotate | Download | only in brillo

Lines Matching full:keys

15 // Given an STL map, returns a set containing all keys from the map.
18 std::set<typename T::key_type> keys;
20 keys.insert(keys.end(), pair.first); // Map keys are already sorted.
21 return keys;
24 // Given an STL map, returns a vector containing all keys from the map.
25 // The keys in the vector are sorted.
28 std::vector<typename T::key_type> keys;
29 keys.reserve(map.size());
31 keys.push_back(pair.first);
32 return keys;