In the structure of my application it makes sense for one object to have a vector that is a subset of another vector. And I really mean that the storage of the smaller is contained in the storage of the larger.
Is this possible in C++? I promise that neither vector will ever be resized, and I can probably make it so that the subvector gets destructed before the containing one.
At first I thought that creating a subvector from iterators into the big vector would do the trick, but that makes a copy. I really want a redirect of the bare pointer.