System.WideString.swap

From RAD Studio API Documentation
Jump to: navigation, search

C++

WideString&    swap(WideString& other);

Properties

Type Visibility Source Unit Parent
function public wstring.h System WideString

Description

Swap string pointers.

swap swaps two WideString strings. Pointers to the data are swapped, and the data is not copied. This makes the swap operation efficient for sorting.