dtScopedDelete

A simple helper class used to delete an array when it goes out of scope.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourAlloc.h

Include

#include "Detour/DetourAlloc.h"

Syntax

template<class T>
class dtScopedDelete

Remarks

A simple helper class used to delete an array when it goes out of scope. @note This class is rarely if ever used by the end user.

Constructors

Name Description

Public function

dtScopedDelete()

Constructs an instance with a null pointer.

Public function

dtScopedDelete

(
    int n
)

Public function

dtScopedDelete

(
    T* p
)

Constructs an instance with the specified pointer.

Destructors

Name Description

Public function

~dtScopedDelete()

Functions

Name Description

Public function

T *

 

get()

Operators

Name Description

Public function

 

operator T *()

The root array pointer.

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