std::vector<bool,Allocator>::flip (3) - Linux Manuals

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

NAME

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

Synopsis


Defined in header <vector>
void flip();


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

Parameters


(none)

Return value


(none)

See also


           access specified element
operator[] (public member function of std::vector<T,Allocator>)
           toggles the values of bits
flip (public member function of std::bitset<N>)