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

Synopsis

Declared in <bsls_objectbuffer.h>

TYPE const&
object() const;

Description

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

Return Value

const reference to the TYPE object in this buffer

Created with MrDocs