I am trying to find a way to create a 3 dimensional vector with three different types, such that it is structured as:
Vector[long][int][double];
I have found plenty of examples that show how to create a 3d vector with a single data type, such as:
std::vector<vector<vector<int> > >;
But I can now find or figure out how to assign multiple data types to the vector.
Conceptually
Vector[long][int][double]doesn’t make any sense. You can have a vector of vectors of vectors of something. There’s only 1 type of something in the end.Take a step out of dimensionality. If you’re just trying to contain 3 values per element in a vector you can do that a number of ways. Make a vector of a type that contains your 3 values: your own struct probably.