engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
rcScopedDelete< T > 模板类 参考

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

#include <RecastAlloc.h>

Public 成员函数

 operator T* ()
 The root array pointer. 更多...
 
 rcScopedDelete ()
 Constructs an instance with a null pointer.
 
 rcScopedDelete (T *p)
 Constructs an instance with the specified pointer. 更多...
 
bool resizeGrow (int n)
 UE4: resize and copy existing memory (n = element count), doesn't destruct elements!
 

详细描述

template<class T>
class rcScopedDelete< T >

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

注解
This class is rarely if ever used by the end user.

构造及析构函数说明

◆ rcScopedDelete()

template<class T >
rcScopedDelete< T >::rcScopedDelete ( T *  p)
inline

Constructs an instance with the specified pointer.

参数
[in]pAn pointer to an allocated array.

成员函数说明

◆ operator T*()

template<class T >
rcScopedDelete< T >::operator T* ( )
inline

The root array pointer.

返回
The root array pointer.

该类的文档由以下文件生成: