Could I exchange two variables using tuple and tie?
int x, y;....std::tie(y, x) = std::make_tuple(x, y);
Aucun commentaire:
Enregistrer un commentaire