Namespaces
Variants
Views
Actions

std::vector<bool,Allocator>::flip

From cppreference.com
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<T,Allocator>) [edit]
toggles the values of bits
(public member function of std::bitset<N>) [edit]