YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
用于提供指针和引用访问的间接访问类模块。 更多...
#include "YModules.h"
#include <YSLib/Adaptor/YAdaptor.h>
#include <utility>
#include <ystdex/memory.hpp>
命名空间 | |
YSLib | |
函数 | |
template<typename _type > | |
bool | YSLib::reset (_type *&p) ynothrow |
template<typename _type > | |
bool | YSLib::operator== (const shared_ptr< _type > &sp, _type *p) |
比较: shared_ptr 和内建指针类型的相等关系。 更多... | |
template<typename _type1 , typename _type2 > | |
bool | YSLib::operator== (const weak_ptr< _type1 > &x, const weak_ptr< _type2 > &y) |
比较: weak_ptr 相等关系。 更多... | |
template<typename _type > | |
bool | YSLib::operator!= (const shared_ptr< _type > &sp, _type *p) |
比较: shared_ptr 左值和内建指针类型的不等关系。 更多... | |
template<typename _type1 , typename _type2 > | |
bool | YSLib::operator!= (const weak_ptr< _type1 > &x, const weak_ptr< _type2 > &y) |
比较: weak_ptr 不等关系。 更多... | |
用于提供指针和引用访问的间接访问类模块。
在文件 yref.hpp 中定义.