Go to the documentation of this file.
31 #include "../support/common.hpp"
53 virtual void reserve(
size_t capacity) = 0;
64 virtual void grow(
size_t capacity) = 0;
77 virtual size_t size()
const = 0;
90 virtual void trim(
size_t capacity) = 0;
Definition: Expandable.hpp:37
void trimToFit()
Definition: Expandable.hpp:93
Definition: Expandable.hpp:43
virtual void grow(size_t capacity)=0
virtual size_t size() const =0
virtual void resize(size_t size)=0
virtual void trim(size_t capacity)=0
virtual void reserve(size_t capacity)=0