the fact that this is implemented via a std::vector<int> is an implementation detail which should not be visible to the outside of this class.