[#BloombergLP-bdlcc-Queue-queue]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Queue.adoc[Queue]::queue
:relfileprefix: ../../../
:mrdocs:

Return a reference to the modifiable underlying `bdlc&colon;&colon;Queue` object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/Queue.adoc[bdlc::Queue&lt;TYPE&gt;]&
queue();
----

== Description

Return a reference to the modifiable underlying `bdlc&colon;&colon;Queue` object used by this queue&period; Any access to the returned queue MUST first lock the associated mutex object (see the `mutex` method) in a multi&hyphen;threaded environment&period; And when items are directly added to the queue returned by this method, the associated condition variable (see the `condition` method) should be signaled to notify any waiting threads of the availability of the new data&period;

The (error&hyphen;prone) usage of this method will be replaced by an appropriate smart&hyphen;pointer&hyphen;like proctor object in the future&period; Meanwhile, use this method with caution&period;

== Return Value

reference to the underlying `bdlc&colon;&colon;Queue` object


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