template<typename SharedObjectType >
SharedObjectType& SharedResourcePointer< SharedObjectType >::getObject ( ) const
noexcept
Returns the object that this pointer references.
The pointer returned may be a nullptr, of course.
If it returns a reference, how can it ever be null? Also what is the point of get and getObject, they are the exact same function?