MCPcopy Create free account
hub / github.com/FastLED/FastLED / populate_map

Function populate_map

tests/test_container_helpers.h:213–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211// For containers with insert(key, value) (SortedHeapMap, unsorted_map_fixed)
212template<typename Container>
213typename fl::enable_if<has_insert_key_value<Container>::value, void>::type
214populate_map(Container& c, int key, fl::shared_ptr<int> ptr) {
215 c.insert(key, ptr);
216}
217
218// For containers with operator[] (map, unordered_map)
219template<typename Container>

Callers 13

test_map_move_semanticsFunction · 0.85
test_map_iteratorsFunction · 0.85
test_map_const_iteratorsFunction · 0.85
test_map_boundsFunction · 0.85
test_map_key_lookupFunction · 0.85
test_map_iteration_orderFunction · 0.85

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected