[#BloombergLP-bsls-ObjectBuffer-object-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ObjectBuffer.adoc[ObjectBuffer]::object
:relfileprefix: ../../../
:mrdocs:

`object` overloads

== Synopses

Declared in `&lt;bsls&lowbar;objectbuffer&period;h&gt;`

Return a modifiable reference to the `TYPE` object occupying this buffer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TYPE&
xref:BloombergLP/bsls/ObjectBuffer/object-0d.adoc[object]();
----

[.small]#xref:BloombergLP/bsls/ObjectBuffer/object-0d.adoc[_» more&period;&period;&period;_]#

Return a `const` reference to the `TYPE` object occupying this buffer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TYPE const&
xref:BloombergLP/bsls/ObjectBuffer/object-0e.adoc[object]() const;
----

[.small]#xref:BloombergLP/bsls/ObjectBuffer/object-0e.adoc[_» more&period;&period;&period;_]#

== Return Value

* modifiable reference to the `TYPE` object in this buffer
* `const` reference to the `TYPE` object in this buffer


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