Toggle the bit at the specified pos of this bitset and return a reference to this modifiable bitset.

Synopsis

Declared in <bslstl_bitset.h>

bitset<N>&
flip(std::size_t pos);

Return Value

reference to this modifiable bitset

Parameters

Name

Description

pos

index of the bit to toggle

Created with MrDocs