I have this case:

```
std::vector<4_integers> v;

```

---

What would fit best here?

**`std::tuple` solution:**

```
std::vector<std::tuple<int,int,int,int>> v;

```

---

**`std::array` solution:**

```
std::vector<std::array<int,4>> v;

```

and why?

**EDIT (The use case):**

Sorry for not mentioning that before. I am going to use it as follow:

```
for(const auto& item:v){
   some_function(item[0],item[1],item[2],item[3]); // or tuple equivalent 
}

```

Of course I need to keep them stored because computing the 4 integers is not a thing that I want to repeat again and again.