45template <
typename T,
unsigned N>
62 T*
addEnd() {
return elements + size; }
107 throw std::range_error(
"ContiguousBuffer::added");
122 throw std::range_error(
"ContiguousBuffer::removed");
125 for (
unsigned int i = 0; i < size - n; i++)
126 elements[i] = std::move(elements[i + n]);
135 unsigned int size = 0;
unsigned int availableToAdd() const
const T * removeEnd() const
void removed(unsigned int n)
void added(unsigned int n)
unsigned int availableToRemove() const
This file includes all the types the logdecoder script will decode.