I have some Data which i want to return from a function. There are int, boolean and string values, which form a set, like a row. My idea was as follows:
data = new vector<string>;
data = new vector<int>;
data = new vector<bool>;
Now i cannot specify the data type of the template class, because the array contains different types of vectors. Is this already the answer why it is not possible, or is there a way to achive the functionality I intend?