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

Method pop_back

extensions/olcPGEX_Network.h:232–238  ·  view source on GitHub ↗

Removes and returns item from back of Queue

Source from the content-addressed store, hash-verified

230
231 // Removes and returns item from back of Queue
232 T pop_back()
233 {
234 std::scoped_lock lock(muxQueue);
235 auto t = std::move(deqQueue.back());
236 deqQueue.pop_back();
237 return t;
238 }
239
240 // Adds an item to back of Queue
241 void push_back(const T& item)

Callers 2

OnBackMethod · 0.80
LoadOBJFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected