MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / equal_range

Method equal_range

common/unordered_inline_set.h:519–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517 return find(x) != end();
518 }
519 std::pair<iterator, iterator> equal_range( const Key& key ) {
520 auto it = find(key);
521 if (it == end()) return {it, it};
522 return {it, it.get_next()};
523 }
524 std::pair<const_iterator, const_iterator> equal_range( const Key& key ) const {
525 auto it = find(key);
526 if (it == end()) return {it, it};

Callers

nothing calls this directly

Calls 1

get_nextMethod · 0.80

Tested by

no test coverage detected