Does type order in std::tuple arguments have any effects?
问题 Say I want to store three types in a tuple : int , float and std::vector<double> If I leave aside matters of subsequent interface, does this tuple<int, float, vector<int>> t; have any differences from this tuple<vector<int>, int, float> t; Due to the implementation of tuple as a class of variadic bases, I'm expecting a different layout for the produced classes, but does it matter in any way ? Also are there any optimization considerations to take into account, when placing types in a tuple