FRawPtrProxy

Proxy structure for implicitly converting raw pointers to shared/weak pointers

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/SharedPointerInternals.h

Include

#include "Templates/SharedPointerInternals.h"

Syntax

template<class ObjectType>
struct FRawPtrProxy

Remarks

Proxy structure for implicitly converting raw pointers to shared/weak pointers

Variables

Name Description

Public variable

ObjectType *...

 

Object

The object pointer

Public variable

FReferenceContr...

 

ReferenceController

Reference controller used to destroy the object

Constructors

Name Description

Public function

FRawPtrProxy

(
    ObjectType* InObject
)

Construct implicitly from an object

Public function

FRawPtrProxy

(
    ObjectType* InObject,
    Deleter&& InDeleter
)

Construct implicitly from an object and a custom deleter

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss