YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
#include "YModules.h"
#include <YSLib/Core/ysdef.h>
#include <ystdex/iterator.hpp>
#include <YSLib/Adaptor/ycont.h>
类 | |
class | YSLib::GMRUCache< _tKey, _tMapped, _fHash, _fEqual, _tAlloc > |
按最近最多使用策略刷新的缓存。 更多... | |
命名空间 | |
YSLib | |
函数 | |
template<class _tMap , typename _tKey , typename _fCallable , typename... _tParams> | |
auto | YSLib::CacheLookup (_tMap &cache, const _tKey &key, _fCallable init, _tParams &&...args) -> decltype((cache.begin() ->second)) |
以指定的关键字查找作为缓存的无序关联容器, 若没有找到使用指定的可调用对象和参数初始化内容。 更多... | |