If you know three of them, and you know their types, why not just write a class?
class Data { std::vector<std::string> _strings; std::vector<double> _doubles; std::vector<UserDefined> _userDefined; public:
It will also give some strong semantics (the vector of unrelated material seems strange in my opinion).
source share