1 #ifndef COMMONTOOLS_RECOALGOS_FQUEUE_H
2 #define COMMONTOOLS_RECOALGOS_FQUEUE_H
16 FQueue(
unsigned int initialCapacity) {
59 void pop_front(
const unsigned int numberOfElementsToPop) {
60 unsigned int elementsToErase =
theSize > numberOfElementsToPop ? numberOfElementsToPop :
theSize;
constexpr unsigned int wrapIndex(unsigned int i)
std::vector< T > theBuffer
unsigned int size() const
T & operator[](unsigned int index)
FQueue(unsigned int initialCapacity)
void push_back(const T &value)
void reserve(unsigned int capacity)
void pop_front(const unsigned int numberOfElementsToPop)