fn() setBitToSet the bit with the given index to the given value.
Set the bit with the given index to the given value.
Defined in | <seqan/misc/misc_bit_twiddling.h> |
---|---|
Signature |
void setBitTo(word, index, value);
|
Parameters
word
|
The machine word (number) to set bits of (IntegerConcept). |
---|---|
index
|
The index of the bit in the word to set (IntegerConcept). |
value
|
The value to set to, bool. |