BloombergLP::bsls::ObjectBuffer::object

Return a modifiable reference to the TYPE object occupying this buffer.

Synopsis

Declared in <bsls_objectbuffer.h>

TYPE&
object();

Description

The referenced object has undefined state unless a valid TYPE object has been constructed in this buffer.

Return Value

modifiable reference to the TYPE object in this buffer