MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / reverse_iterator

Method reverse_iterator

src/common/classes/stack.h:247–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245
246 public:
247 explicit reverse_iterator(Stack<Object, Capacity>& s)
248 : stack(s), entries(s.getPool()), elem(0)
249 {
250 current_entry = s.stk;
251 if (current_entry) {
252 while (Entry *next = current_entry->next) {
253 entries.push(current_entry);
254 current_entry = next;
255 }
256 }
257 }
258
259 bool hasData() const
260 {

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected