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