The elements of a vector are stored contiguously, meaning that if v is a vector<T, Allocator> … then it obeys the identity&v[n] == &v[0] + n for all 0 <= n < v.size(). We can use this pseudo-structure to represent the vector: vector{T*storeintsizeintcapacity} capacityis ...