YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::MemoryList::NewRecorder异常 参考final

#include <ynew.h>

类 YSLib::MemoryList::NewRecorder 继承关系图:
YSLib::MemoryList::NewRecorder 的协作图:

Public 成员函数

yconstfn NewRecorder (const char *f, int l, MemoryList &b=GetDebugMemoryList())
 
template<typename _type >
_type * operator->* (_type *p)
 接受 new 表达式返回的指针并注册内存分配记录。
 

Private 属性

MemoryListblocks
 
const char * file
 
const int line
 

额外继承的成员函数

- Private 成员函数 继承自 ystdex::noncopyable
 noncopyable (const noncopyable &)=delete
 禁止复制构造。
 
noncopyableoperator= (const noncopyable &)=delete
 禁止赋值复制。
 
 noncopyable ()=default
 protected 构造:默认实现。
 
 ~noncopyable ()=default
 protected 析构:默认实现。
 

详细描述

在文件 ynew.h113 行定义.

构造及析构函数说明

yconstfn YSLib::MemoryList::NewRecorder::NewRecorder ( const char *  f,
int  l,
MemoryList b = GetDebugMemoryList() 
)
inlineexplicit

在文件 ynew.h122 行定义.

成员函数说明

template<typename _type >
_type* YSLib::MemoryList::NewRecorder::operator->* ( _type *  p)
inline

接受 new 表达式返回的指针并注册内存分配记录。

注解
此用法参考 nvwa 0.8.2 : http://sourceforge.net/projects/nvwa/files/nvwa/

在文件 ynew.h135 行定义.

类成员变量说明

MemoryList& YSLib::MemoryList::NewRecorder::blocks
private

在文件 ynew.h116 行定义.

const char* YSLib::MemoryList::NewRecorder::file
private

在文件 ynew.h117 行定义.

const int YSLib::MemoryList::NewRecorder::line
private

在文件 ynew.h118 行定义.


该异常的文档由以下文件生成: