Luna::UniquePtr::operator->

pointer operator->() const

Accesses members of the instance pointed by the pointer.

Return value

Returns one copy of the native pointer so that members of the referred instance can be accessed.

Valid Usage

  • This pointer must not be null when calling this function.