[#BloombergLP-bdlc-Queue-front-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/Queue.adoc[Queue]::front :relfileprefix: ../../../ :mrdocs: Return a reference to the non‐modifiable element at the front of this queue. The reference will remain valid as long as this queue is not destroyed or modified (e.g., via `insert`, `remove`, or `append`). The behavior is undefined if this queue is empty. Note that this function is logically equivalent to: ` operator ` == Synopsis Declared in `<bdlc_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- T const& front() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#