Navigation
Unreal Engine C++ API Reference > Runtime > Core > Templates > TSharedPtr
Type | Name | Description | |
---|---|---|---|
![]() |
NOTE: FNullTag parameter is an Unreal extension to standard shared_ptr behavior. | ||
![]() |
TSharedPtr
(
TWeakPtr< OtherType, Mode > const& InWeakPtr |
Constructs a shared pointer from a weak pointer, allowing you to access the object (if it hasn't expired yet.) Remember, if there are no more shared references to the object, the shared pointer will not be valid. | |
![]() |
TSharedPtr
(
TWeakPtr< OtherType, Mode >&& InWeakPtr |
Constructs a shared pointer from a weak pointer, allowing you to access the object (if it hasn't expired yet.) Remember, if there are no more shared references to the object, the shared pointer will not be valid. | |
![]() |
TSharedPtr
(
OtherType* InObject, |
Constructs a shared pointer that owns the specified object. | |
![]() |
TSharedPtr
(
TSharedPtr< OtherType, Mode > const& InSharedPtr, |
Special constructor used internally to statically cast one shared pointer type to another. | |
![]() |
TSharedPtr
(
TSharedPtr< OtherType, Mode > const& InSharedPtr, |
Special constructor used internally to cast a 'const' shared pointer a 'mutable' pointer. | |
![]() |
TSharedPtr
(
TSharedPtr< OtherType, Mode > const& OtherSharedPtr, |
Aliasing constructor used to create a shared pointer which shares its reference count with another shared object, but pointing to a different object, typically a subobject. | |
![]() |
TSharedPtr
(
TSharedPtr< OtherType, Mode >&& OtherSharedPtr, |
Aliasing constructor used to create a shared pointer which shares its reference count with another shared object, but pointing to a different object, typically a subobject. | |
![]() |
TSharedPtr
(
TSharedRef< OtherType, Mode > const& OtherSharedRef, |
Aliasing constructor used to create a shared pointer which shares its reference count with another shared object, but pointing to a different object, typically a subobject. | |
![]() |
TSharedPtr
(
OtherType* InObject |
Constructs a shared pointer that owns the specified object. | |
![]() |
TSharedPtr
(
SharedPointerInternals::TRawPtrProxy< OtherType > const& InRawPtrProxy |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
![]() |
TSharedPtr
(
SharedPointerInternals::TRawPtrProxyWithDeleter< OtherType, DeleterType > const& InRawPtrProxy |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
![]() |
TSharedPtr
(
SharedPointerInternals::TRawPtrProxyWithDeleter< OtherType, DeleterType >&& InRawPtrProxy |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
![]() |
TSharedPtr
(
TSharedPtr< OtherType, Mode > const& InSharedPtr |
Constructs a shared pointer as a shared reference to an existing shared pointer's object. | |
![]() |
TSharedPtr
(
TSharedPtr const& InSharedPtr |
||
![]() |
TSharedPtr
(
TSharedPtr&& InSharedPtr |
||
![]() |
TSharedPtr
(
TSharedRef< OtherType, Mode > const& InSharedRef |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. |