Luna::UniquePtr::operator*

add_lvalue_reference< _Ty >::type operator*() const

Dereferences the native pointer.

Return value

Returns one reference to the instance pointed by the pointer.

Valid Usage

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