37 void push(
const T& value) {
47 T
front = std::move(data[0]);
75 return data.GetSize() == 0;
78 size_t size()
const {
return data.GetSize(); }
88 T*
begin() {
return data.begin(); }
89 const T*
begin()
const {
return data.begin(); }
90 T*
end() {
return data.end(); }
91 const T*
end()
const {
return data.end(); }
Implements a dynamic array-like list for storing and managing a collection of elements.
const void reverse()
Reverses the queue's element order in place.
List< T > GetData()
Copies out the underlying List, front-to-back.
T pop()
Removes and returns the front element; throws if empty.
void push(const T &value)
Adds value to the back of the queue.
T & front()
Front element without removing it; throws if empty.
Root namespace for everything the engine exposes.