Compartir a través de


swap (<deque>)

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

See Also

Concepts

<deque> Members

Standard Template Library