MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / clear

Method clear

Kernel/include/list.h:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void clear() {
93 front = NULL;
94 back = NULL;
95 num = 0;
96 }
97
98 void add_back(const T& obj) {
99 if (!front) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected