Compartilhar via


Swap Function (Windows Runtime C++ Template Library)

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.

Remarks

Exchanges the values of the two specified arguments.

Requirements

Header: internal.h

Namespace: Microsoft::WRL::Details

See Also

Reference

Microsoft::WRL::Details Namespace