Insert a single bit value at dstIndex in this array.
Synopsis
Declared in <bdlc_bitarray.h>
void
insert(
std::size_t dstIndex,
bool value);
Description
Insert into this array at the specified dstIndex the specified value. All values with indices at or above dstIndex in this array are shifted up by one bit position. The behavior is undefined unless dstIndex <= length().
Parameters
Name |
Description |
dstIndex |
index at which to insert |
value |
bit value to insert |
Created with MrDocs