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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for