Table of Contents Previous topic Next topic
C++ COMPILER LIBRARY FUNCTIONS->String Class Functions->Member Functions->Swap
#include <string>void swap(string& str)Swaps the data of an object of class string with that of str.