摘要:
#ifndef SAFE_DELETE#define SAFE_DELETE(p) { if(p){delete(p); (p)=NULL;} } #endif #ifndef SAFE_DELETE_ARRAY #define SAFE_DELETE_ARRAY(p) { if(p){delete[] (p); (p)=NULL;} } #endif #ifndef SAFE_RELEASE... 阅读全文
posted @ 2010-05-11 17:10 Zhiyett 阅读(2074) 评论(0) 推荐(0) 编辑