MCPcopy Create free account
hub / github.com/apple/foundationdb / result

Class result

fdbclient/VersionedMap.cpp:30–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 using key_type = K;
29
30 struct result {
31 typename map::iterator it;
32
33 result(typename map::iterator it) : it(it) {}
34
35 result& operator++() {
36 ++it;
37 return *this;
38 }
39
40 const K& operator*() const { return it.key(); }
41
42 const K& operator->() const { return it.key(); }
43
44 bool operator==(result const& k) const { return it == k.it; }
45 bool operator!=(result const& k) const { return !(*this == k); }
46 };
47
48 map s;
49

Callers 7

findMethod · 0.70
not_foundMethod · 0.70
beginMethod · 0.70
endMethod · 0.70
lower_boundMethod · 0.70
upper_boundMethod · 0.70

Calls 1

keyMethod · 0.45

Tested by

no test coverage detected