[#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 `numBits` copies of `value` to this array&period;


[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 a bit range from `srcArray` to this array&period;


[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;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| bit value to append
| *srcArray*
| array whose bits are appended
| *numBits*
| number of bits to append
| *srcIndex*
| starting index in `srcArray`
|===


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