Std:Swap Function | Embarcadero

The C++ standard library’s std::swap contains the swap function, which is used to swap the values of two identical objects. It can be utilised by merely calling the function and passing the two variables as input. Visit our website to find out more about the std:swap function.