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

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

#include <DetourAlloc.h>

Public 成员函数

 dtScopedDelete ()
 Constructs an instance with a null pointer.
 
 dtScopedDelete (T *p)
 Constructs an instance with the specified pointer. 更多...
 
 operator T* ()
 The root array pointer. 更多...
 

详细描述

template<class T>
class dtScopedDelete< 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.

构造及析构函数说明

◆ dtScopedDelete()

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

Constructs an instance with the specified pointer.

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

成员函数说明

◆ operator T*()

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

The root array pointer.

返回
The root array pointer.

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