MCPcopy Create free account
hub / github.com/atcoder/ac-library / clear

Method clear

atcoder/internal_queue.hpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 void push(const T& t) { payload.push_back(t); }
17 T& front() { return payload[pos]; }
18 void clear() {
19 payload.clear();
20 pos = 0;
21 }
22 void pop() { pos++; }
23};
24

Callers 6

ace.jsFile · 0.80
uikit.min.jsFile · 0.80
ace.jsFile · 0.80
uikit.min.jsFile · 0.80
flowMethod · 0.80
slopeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected