Tuples
Structs
Tuple-Structs
They are useful to group objects of different types.
At the end of the chapter, you’ll see some code style conventions.
The Tuples
Arrays and vectors can contain several items, yet such items must all be of the same type. If you wish to store in a single object several sub-objects of different types, you can do in this way:
This will print: "10000000, 183.19, Q" ...