Namespaces
Variants
Views
Actions

std::vector<bool>::flip

From cppreference.com
< cpp‎ | container‎ | vector bool
Revision as of 21:51, 31 May 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <vector>
void flip();

Toggles each bool in the vector (replaces with its opposite value).

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] See also

access specified element
(public member function of std::vector) [edit]
toggles the values of bits
(public member function of std::bitset) [edit]