Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SharedPointerInternals::TRawPtrProxy< ObjectType > MakeShareable
(
ObjectType* InObject |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | Templates/SharedPointer.h | |
SharedPointerInternals::TRawPtrProxyWithDeleter< ObjectType, DeleterType > MakeShareable
(
ObjectType* InObject, |
NOTE: The following is an Unreal extension to standard shared_ptr behavior. | Templates/SharedPointer.h |
MakeShareable(ObjectType *)
Description
MakeShareable utility function. Wrap object pointers with MakeShareable to allow them to be implicitly converted to shared pointers! This is useful in assignment operations, or when returning a shared pointer from a function.
| Name | MakeShareable |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
| Include Path | #include "Templates/SharedPointer.h" |
template<class ObjectType>
SharedPointerInternals::TRawPtrProxy < ObjectType > MakeShareable
(
ObjectType * InObject
)
MakeShareable(ObjectType *, DeleterType &&)
Description
MakeShareable utility function. Wrap object pointers with MakeShareable to allow them to be implicitly converted to shared pointers! This is useful in assignment operations, or when returning a shared pointer from a function.
| Name | MakeShareable |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
| Include Path | #include "Templates/SharedPointer.h" |
template<class ObjectType, class DeleterType>
SharedPointerInternals::TRawPtrProxyWithDeleter < ObjectType, DeleterType > MakeShareable
(
ObjectType * InObject,
DeleterType && InDeleter
)