YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
安全删除指定引用的指针指向的对象。 更多...
函数 | |
template<typename _type > | |
bool | ystdex::reset (std::unique_ptr< _type > &p) ynoexcept |
template<typename _type > | |
bool | ystdex::reset (std::shared_ptr< _type > &p) ynoexcept |
template<typename _type > | |
bool | YSLib::reset (_type *&p) ynothrow |
安全删除指定引用的指针指向的对象。
安全删除指定引用的句柄指向的对象。
|
inline |
在文件 memory.hpp 第 96 行定义.
参考自 YSLib::safe_delete_obj::operator()(),YSLib::GDependency< _tEvent, _tOwnerPointer >::Reset() , 以及 DSApplication::~DSApplication().
|
inline |
在文件 memory.hpp 第 106 行定义.