MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / operator++

Method operator++

Kernel/include/list.h:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 ListIterator operator++(int){ // Post decrement
35 ListIterator<T> v = ListIterator<T>(*this);
36
37 if(node)
38 node = node->next;
39
40 return v;
41 }
42
43 ListIterator& operator=(const ListIterator& other){
44 node = other.node;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected