[#BloombergLP-bdlc-PackedIntArrayImp-0a-replace-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-0a.adoc[PackedIntArrayImp]::replace :relfileprefix: ../../../ :mrdocs: Change the value of the element at the specified `dstIndex` in this array to the specified `value`. The behavior is undefined unless `dstIndex < length()`. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void replace( std::size_t dstIndex, xref:BloombergLP/bdlc/PackedIntArrayImp-0a/ElementType.adoc[ElementType] value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#