Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TWeakPtr< CastToType, Mode > ConstCastWeakPtr
(
TWeakPtr< CastFromType, Mode > const& InWeakPtr |
Casts a 'const' weak pointer to 'mutable' weak pointer. (const_cast) | Templates/SharedPointer.h | |
TWeakPtr< CastToType, Mode > ConstCastWeakPtr
(
TWeakPtr< CastFromType, Mode >&& InWeakPtr |
Templates/SharedPointer.h |
ConstCastWeakPtr(TWeakPtr< CastFromType, Mode > const &)
Description
Casts a 'const' weak pointer to 'mutable' weak pointer. (const_cast)
| Name | ConstCastWeakPtr |
| 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>
TWeakPtr < CastToType, Mode > ConstCastWeakPtr
(
TWeakPtr < CastFromType, Mode > const & InWeakPtr
)
Parameters
| Name | Remarks |
|---|---|
| InWeakPtr | The weak pointer to cast |
ConstCastWeakPtr(TWeakPtr< CastFromType, Mode > &&)
| Name | ConstCastWeakPtr |
| 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>
TWeakPtr < CastToType, Mode > ConstCastWeakPtr
(
TWeakPtr < CastFromType, Mode > && InWeakPtr
)