Same as the unsigned int overload.

Synopsis

Declared in <bdlb_bitutil.h>

static
unsigned long
withBitSet(
    unsigned 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