MCPcopy Create free account
hub / github.com/apache/impala / InsertKeysFromMap

Function InsertKeysFromMap

be/src/gutil/map-util.h:799–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797// Note: any initial contents of the key_container are not cleared.
798template <class MapContainer, class KeyContainer>
799void InsertKeysFromMap(const MapContainer& map_container,
800 KeyContainer* key_container) {
801 CHECK(key_container != NULL);
802 for (typename MapContainer::const_iterator it = map_container.begin();
803 it != map_container.end(); ++it) {
804 key_container->insert(it->first);
805 }
806}
807
808// Appends all the keys from map_container into key_container, which must
809// support push_back(MapContainer::key_type).

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected