1#include <iostream>
2#include <string>
3#include <tuple>
4
5struct Personne
6{
7 std::string nom;
8 std::string prenom;
9 int age;
10};
11
12Personne f()
13{
14 return { "Lagrume", "Clem", 4 };
15}
16
17int main()
18{
19 auto[nom, prenom, age] = f();
20 std::cout << "Voici " << prenom << " " << nom << " et elle a " << age << " ans." << std::endl;
21 return 0;
22}
23