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

`append` overloads

== Synopses

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

Append to the end of this queue the sequence of values in the specified `srcQueue`&period; Note that this function is logically equivalent to&colon; &grave; insert(length(), srcQueue)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/Queue/append-0d.adoc[append](xref:BloombergLP/bdlc/Queue.adoc[Queue] const& srcQueue);
----

[.small]#xref:BloombergLP/bdlc/Queue/append-0d.adoc[_» more&period;&period;&period;_]#

Append to the end of this queue the value of the specified `item`&period; Note that this function is a synonym for `pushBack` and is logically equivalent to (but generally more efficient than)&colon; &grave; insert(length(), item)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/Queue/append-0f.adoc[append](T const& item);
----

[.small]#xref:BloombergLP/bdlc/Queue/append-0f.adoc[_» more&period;&period;&period;_]#

Append to the end of this queue the specified `numElements` value in the specified `srcQueue` starting at the specified index position `srcIndex`&period; Note that this function is logically equivalent to&colon; &grave; insert(length(), srcQueue, srcIndex, numElements)&semi; &grave; The behavior is undefined unless `0 &lt;&equals; srcIndex`, `0 &lt;&equals; numElements`, and `srcIndex &plus; numElements &lt;&equals; srcQueue&period;length()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlc/Queue/append-06.adoc[append](
    xref:BloombergLP/bdlc/Queue.adoc[Queue] const& srcQueue,
    int srcIndex,
    int numElements);
----

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


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