Navigation
Unreal Engine C++ API Reference > Runtime > Core > Templates > TSharedRef
Type | Name | Description | |
---|---|---|---|
![]() |
TSharedRef () |
Constructs default shared reference that owns the default object for specified type. | |
![]() |
TSharedRef
(
TSharedPtr< OtherType, Mode > const& InSharedPtr |
Converts a shared pointer to a shared reference. | |
![]() |
TSharedRef
(
TSharedPtr< OtherType, Mode >&& InSharedPtr |
||
![]() |
TSharedRef
(
OtherType* InObject, |
Constructs a shared reference that owns the specified object. Must not be nullptr. | |
![]() |
TSharedRef
(
TSharedRef< OtherType, Mode > const& InSharedRef, |
Special constructor used internally to statically cast one shared reference type to another. | |
![]() |
TSharedRef
(
TSharedRef< OtherType, Mode > const& InSharedRef, |
Special constructor used internally to cast a 'const' shared reference a 'mutable' reference. | |
![]() |
TSharedRef
(
TSharedRef< OtherType, Mode > const& OtherSharedRef, |
Aliasing constructor used to create a shared reference which shares its reference count with another shared object, but pointing to a different object, typically a subobject. | |
![]() |
TSharedRef
(
ObjectType* InObject, |
||
![]() |
TSharedRef
(
OtherType* InObject |
NOTE: TSharedRef has no default constructor as it does not support empty references. | |
![]() |
TSharedRef
(
SharedPointerInternals::TRawPtrProxy< OtherType > const& InRawPtrProxy |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
![]() |
TSharedRef
(
SharedPointerInternals::TRawPtrProxyWithDeleter< OtherType, DeleterType > const& InRawPtrProxy |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
![]() |
TSharedRef
(
SharedPointerInternals::TRawPtrProxyWithDeleter< OtherType, DeleterType >&& InRawPtrProxy |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | |
![]() |
TSharedRef
(
TSharedRef< OtherType, Mode > const& InSharedRef |
Constructs a shared reference as a reference to an existing shared reference's object. | |
![]() |
TSharedRef
(
TSharedRef const& InSharedRef |
||
![]() |
TSharedRef
(
TSharedRef&& InSharedRef |
||
![]() |