Bewerken

Delen via


Swap Function (WRL)

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

WRL_NOTHROW inline void Swap(
   _Inout_ T& left,
   _Inout_ T& right
);

Parameters

left
The first argument.

right
The second argument.

Return Value

Remarks

Exchanges the values of the two specified arguments.

Requirements

Header: internal.h

Namespace: Microsoft::WRL::Details

See also

Microsoft::WRL::Details Namespace