21 virtual T at(
int index)
const = 0;
A wrapper for std::vector.
Definition array.hpp:72
A base interface for all objects whose elements can be directly indexed.
Definition indexable.hpp:10
virtual T operator[](int index) const
Function to get the object at the given index.
Definition indexable.hpp:33
virtual T at(int index) const =0
Function to get the object at the given index.
virtual ~indexable() noexcept
Virtual destructor.
Definition indexable.hpp:13