Consider the following program:
#include #include using namespace std; struct T { int a; double b; string c; };
Of course, this is not an answer, but it shows an interesting feature of tuples:
#include #include #include using namespace std; using T = tuple < int, double, string >; vector V; int main() { V.emplace_back(42, 3.14, "foo"); }