smart_ptr::operator* Method

Returns the object to which this points. If the pointer is not set, this operator will fail with a null pointer exception.
Syntax:
reference operator*();
const_reference operator*() const;

Return value:

The object pointed to by this.

See also: smart_ptr, smart_ptr::operator->

<< smart_ptr