Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exchanges the elements of two deques.
void swap(
deque<Type, Allocator>& _Left,
deque<Type, Allocator>& _Right,
);
Parameters
_Left
An object of type deque._Right
An object of type deque.
Example
Description
See the example for deque::swap.
Requirements
Header: <deque>
Namespace: std