System.AnsiStringBase.swap
C++
AnsiStringBase& swap(AnsiStringBase& other);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | dstring.h | System | AnsiStringBase |
Description
Swaps string pointers.
swap swaps two AnsiStringBase strings. Pointers to the data are swapped, and the data is not copied. This makes the swap operation efficient for sorting.