Combine C++ vectors in various useful ways