Set the value at the specified index in this array to the specified value. The behavior is undefined unless index < length().

Synopsis

Declared in <bdlc_bitarray.h>

void
assign(
    std::size_t index,
    bool value);

Parameters

Name

Description

index

bit position to set

value

bit value to store at index

Created with MrDocs