18 virtual T at(
int index)
const = 0;
A wrapper for std::vector.
Definition array.hpp:38
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:30
virtual T at(int index) const =0
Function to get the object at the given index.