Set to 1 the specified numBits values in this array, beginning at the specified index. The behavior is undefined unless index + numBits <= length().

Synopsis

Declared in <bdlc_bitarray.h>

void
assign1(
    std::size_t index,
    std::size_t numBits);

Parameters

Name

Description

index

starting bit position to set

numBits

number of bits to set

Created with MrDocs