Namespaces
Variants
Views
Actions

std::vector<bool>::swap

From cppreference.com
< cpp‎ | container‎ | vector bool
Revision as of 17:05, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <vector>
static void swap(reference x, reference y);

Swaps the contents of x and y.

Parameters

x - std::vector<bool>::reference value to swap with y
y - std::vector<bool>::reference value to swap with x

Return value

(none)

See also

Template:cpp/container/dcl list swap2
proxy class representing a reference to a single bool
(class)