insert overloads
Declared in <bdlc_bitarray.h>
Insert a single bit value at dstIndex in this array.
void
insert(
std::size_t dstIndex,
bool value);
» more...
Insert all bits from srcArray at dstIndex in this array.
void
insert(
std::size_t dstIndex,
BitArray const& srcArray);
» more...
Insert repeated bit values at dstIndex in this array.
void
insert(
std::size_t dstIndex,
bool value,
std::size_t numBits);
» more...
Insert a bit range from srcArray at dstIndex in this array.
void
insert(
std::size_t dstIndex,
BitArray const& srcArray,
std::size_t srcIndex,
std::size_t numBits);
» more...
| Name | Description |
|---|---|
| dstIndex | index at which to insert |
| value | bit value to insert |
| srcArray | array whose bits are inserted |
| numBits | number of bits to insert |
| srcIndex | starting index in srcArray |