Converts a shared pointer to a shared reference. The pointermustbe valid or an assertion will trigger. NOTE: This explicit conversion constructor is intentionally private. Use 'ToSharedRef()' instead.