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.
Synopsis
Declared in <bslstl_pair.h>
void
swap(pair& other) noexcept(/* see-below */);
Exception specification
This function is potentially-throwing unless bsl::is_nothrow_swappable<T1>::value && bsl::is_nothrow_swappable<T2>::value.
Created with MrDocs