Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TSharedPtr
Description
Returns true if this is the only shared reference to this object. Note that there may be outstanding weak references left. IMPORTANT: Not necessarily fast! Should only be used for debugging purposes!
| Name | IsUnique |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
| Include Path | #include "Templates/SharedPointer.h" |
bool IsUnique() const
True if there is only one shared reference to the object, and this is it!