withBitSet overloads
Synopses
Declared in <bdlb_bitutil.h>
Return value with the bit at index set.
static
unsigned int
withBitSet(
unsigned int value,
int index);
Same as the unsigned int overload.
static
unsigned long
withBitSet(
unsigned long value,
int index);
Same as the unsigned int overload.
static
unsigned long long
withBitSet(
unsigned long long value,
int index);
Return Value
value with the bit at index set
Parameters
Name |
Description |
value |
value to modify |
index |
bit position to set |
Created with MrDocs