Contents:
Flattens a nested vector into a single vector.
T – Type of elements in the vector.
v – Input nested vector.
std::vector<T> Flattened vector.