Partilhar via


vector<bool>::reference Members

Reference

Member Functions

flip

Inverts the Boolean value of a vector element.

operator bool

Exchanges the elements of two vectors with Boolean elements.

operator~

Returns a Boolean value that is the opposite of that held by the element referenced.

operator=

Assigns a Boolean value to a bit or the value held by a referenced element to a bit.

See Also

Reference

vector<bool>::reference Class

Thread Safety in the Standard C++ Library

Standard Template Library