Swap Function (Windows Runtime C++ Template Library)

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

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

Parameters

left
The first argument.

right
The second argument.

Exchanges the values of the two specified arguments.

Header: internal.h

Namespace: Microsoft::WRL::Details

Microsoft::WRL::Details Namespace

Show: