[#BloombergLP-bdlcc-Queue-popBack-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Queue.adoc[Queue]::popBack
:relfileprefix: ../../../
:mrdocs:

`popBack` overloads

== Synopses

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

Remove the last item in this queue and return that item value&period; If this queue is empty, block until an item is available&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TYPE
xref:BloombergLP/bdlcc/Queue/popBack-06.adoc[popBack]();
----

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

Remove the last item in this queue and load that item into `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Queue/popBack-08.adoc[popBack](TYPE* buffer);
----

[.small]#xref:BloombergLP/bdlcc/Queue/popBack-08.adoc[_» more&period;&period;&period;_]#

== Return Value

the removed item value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buffer*
| receives the removed item
|===


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