ToggleBit

toggleBit inverts the bit at the specified position of the argument.

Methods

Arguments

Return Value

toggleBit

bitArray::unsigned discrete

unsigned discrete

position::unsigned discrete

On activation of method

ToggleBit

The argument bitArray is returned with the bit at position k toggled.