[#BloombergLP-bdlc-BitArray-insert-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::insert :relfileprefix: ../../../ :mrdocs: Insert into this array at the specified `dstIndex` the specified `numBits` having the specified `value`. All values with indices at or above `dstIndex` in this array are shifted up by `numBits` bit positions. The behavior is undefined unless `dstIndex <= length()`. == Synopsis Declared in `<bdlc_bitarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void insert( std::size_t dstIndex, bool value, std::size_t numBits); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#