Swap the value of this pair with the value of the specified other pair by applying swap to each of the first and second pair fields.
This function is potentially-throwing unless bsl::is_nothrow_swappable<T1>::value && bsl::is_nothrow_swappable<T2>::value.
| Name | Description |
|---|---|
| other | pair whose value is exchanged with this pair's value |