I have this case:
std::vector<4_integers> v;
What would fit best here?
std::tuple solution:
std::tuple
std::vector<std::tuple<int,int,int,int>> v;
std::array solution:
std::array
std::vector<std::array<int,4>> v;
and why?
Aucun commentaire:
Enregistrer un commentaire