[#BloombergLP-bdlc-CompactedArray-front] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray]::front :relfileprefix: ../../../ :mrdocs: Return a `const` reference to the element at the front of this array. The behavior is undefined unless `0 < length()`. Note that this method is logically equivalent to: ` operator ` == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TYPE const& front() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#