MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / pop_front

Method pop_front

extensions/olcPGEX_Network.h:223–229  ·  view source on GitHub ↗

Removes and returns item from front of Queue

Source from the content-addressed store, hash-verified

221
222 // Removes and returns item from front of Queue
223 T pop_front()
224 {
225 std::scoped_lock lock(muxQueue);
226 auto t = std::move(deqQueue.front());
227 deqQueue.pop_front();
228 return t;
229 }
230
231 // Removes and returns item from back of Queue
232 T pop_back()

Callers 4

RenderMethod · 0.80
WriteHeaderMethod · 0.80
WriteBodyMethod · 0.80
UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected