[#BloombergLP-bdlc-BitArray-append-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::append
:relfileprefix: ../../../
:mrdocs:

`append` overloads

== Synopses

Declared in `&lt;bdlc&lowbar;bitarray&period;h&gt;`

Append to this array the specified `value`&period; Note that this method has the same behavior as&colon; &grave; insert(length(), value)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/append-06b.adoc[append](bool value);
----

[.small]#xref:BloombergLP/bdlc/BitArray/append-06b.adoc[_» more&period;&period;&period;_]#

Append to this array the values from the specified `srcArray`&period; Note that this method has the same behavior as&colon; &grave; insert(length(), srcArray)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/append-02.adoc[append](xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& srcArray);
----

[.small]#xref:BloombergLP/bdlc/BitArray/append-02.adoc[_» more&period;&period;&period;_]#

Append to this array the specified `numBits` having the specified `value`&period; Note that this method has the same behavior as&colon; &grave; insert(length(), value, numBits)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/append-08.adoc[append](
    bool value,
    std::size&lowbar;t numBits);
----

[.small]#xref:BloombergLP/bdlc/BitArray/append-08.adoc[_» more&period;&period;&period;_]#

Append to this array the specified `numBits` from the specified `srcArray`, beginning at the specified `srcIndex`&period; The behavior is undefined unless `srcIndex &plus; numBits &lt;&equals; srcArray&period;length()`&period; Note that this method has the same behavior as&colon; &grave; insert(length(), srcArray, srcIndex, numBits)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/BitArray/append-064.adoc[append](
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& srcArray,
    std::size&lowbar;t srcIndex,
    std::size&lowbar;t numBits);
----

[.small]#xref:BloombergLP/bdlc/BitArray/append-064.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
