YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
全局公用存储管理。 更多...
#include "ycutil.h"
类 | |
class | YSLib::GStaticCache< _type, _tPointer > |
全局静态单态存储器。 更多... | |
class | YSLib::GLocalStaticCache< _type, _tPointer > |
全局局部静态单态存储器。 更多... | |
命名空间 | |
namespace | YSLib |
函数 | |
template<typename _type > | |
_type | YSLib::FetchInstance () |
取指定类型的无参数构造的对象。 | |
template<typename _type > | |
_type & | YSLib::FetchStaticRef () |
取指定类型的静态默认对象。 | |
template<typename _type > | |
const _type & | YSLib::FetchPrototype () |
取指定类型的静态原型对象。 | |
全局公用存储管理。
在文件 ystorage.hpp 中定义.