MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / begin

Method begin

libCacheSim/dataStructure/splaytree.hpp:138–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 bool empty() const { return node_count_ == 0 ? true : false; }
137 uint32_t size() const { return node_count_; }
138 iterator begin() { return node_count_ == 0 ? end() : iterator(subtreeMin(root_.get())); }
139 iterator end() { return iterator(); }
140 void swap(SplayTree &other)
141 {

Callers

nothing calls this directly

Calls 3

endFunction · 0.85
iteratorClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected