assign1 overloads

Synopses

Declared in <bdlb_bitstringutil.h>

Set one bit in bitString to true.

static
void
assign1(
    uint64_t* bitString,
    std::size_t index);

Set a range of bits in bitString to true.

static
void
assign1(
    uint64_t* bitString,
    std::size_t index,
    std::size_t numBits);

Parameters

Name

Description

bitString

bit string to modify

index

bit position to set

numBits

number of bits to set

Created with MrDocs