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