Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
| Include | #include "Templates/SharedPointer.h" |
template<class CastToType, class CastFromType, ESPMode Mode>
TWeakPtr < CastToType, Mode > ConstCastWeakPtr
(
TWeakPtr < CastFromType, Mode > const & InWeakPtr
)
Remarks
Casts a 'const' weak pointer to 'mutable' weak pointer. (const_cast)
Parameters
| Name | Description |
|---|---|
| InWeakPtr | The weak pointer to cast |