Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< CastToType, Mode > ConstCastSharedRef
(
TSharedRef< CastFromType, Mode > const& InSharedRef |
Casts a 'const' shared reference to 'mutable' shared reference. (const_cast) | Templates/SharedPointer.h | |
TSharedRef< CastToType, Mode > ConstCastSharedRef
(
TSharedRef< CastFromType, Mode >&& InSharedRef |
Templates/SharedPointer.h |
ConstCastSharedRef(TSharedRef< CastFromType, Mode > const &)
Description
Casts a 'const' shared reference to 'mutable' shared reference. (const_cast)
| Name | ConstCastSharedRef |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
| Include Path | #include "Templates/SharedPointer.h" |
template<class CastToType, class CastFromType, ESPMode Mode>
TSharedRef < CastToType, Mode > ConstCastSharedRef
(
TSharedRef < CastFromType, Mode > const & InSharedRef
)
Parameters
| Name | Remarks |
|---|---|
| InSharedRef | The shared reference to cast |
ConstCastSharedRef(TSharedRef< CastFromType, Mode > &&)
| Name | ConstCastSharedRef |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
| Include Path | #include "Templates/SharedPointer.h" |
template<class CastToType, class CastFromType, ESPMode Mode>
TSharedRef < CastToType, Mode > ConstCastSharedRef
(
TSharedRef < CastFromType, Mode > && InSharedRef
)