Exchange the value of this stack with the value of the specified other stack.
Synopsis
Declared in <bslstl_stack.h>
void
swap(stack& other) noexcept(/* see-below */);
Exception specification
This function is potentially-throwing unless bsl::is_nothrow_swappable<CONTAINER>::value.
Created with MrDocs