News for hackers. Stuff that matters.
Re:Swapping two Numbers without Temporary Variables by Adverblessly on Thursday March 24, 2022 @04:29PM (#30794975)
Even in C++

  std::tie(a, b) = std::tuple(b, a);
Re:Swapping two Numbers without Temporary Variables by ncmncm on Thursday March 24, 2022 @09:25PM (#30797715)
Or, you know,

  std::swap(a, b);