smart_com::operator-> Method

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

Return value:

A pointer to the object referenced by this.

See also: smart_com

<< smart_com