MCPcopy Create free account
hub / github.com/apache/trafficserver / IntrusiveHashMapApply

Function IntrusiveHashMapApply

lib/swoc/include/swoc/IntrusiveHashMap.h:609–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607
608template <typename H, typename F>
609auto
610IntrusiveHashMapApply(IntrusiveHashMap<H> &map, F &&f)
611 -> decltype(f(*static_cast<typename IntrusiveHashMap<H>::value_type *>(nullptr)), map) {
612 return map.apply([&f](typename IntrusiveHashMap<H>::value_type *v) { return f(*v); });
613}
614
615template <typename H, typename F>
616auto

Callers 1

applyMethod · 0.85

Calls 4

fFunction · 0.85
applyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected