YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Cache.hpp 文件参考
#include "YModules.h"
#include <YSLib/Core/ysdef.h>
#include <ystdex/iterator.hpp>
#include <YSLib/Adaptor/ycont.h>
Cache.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

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))
 以指定的关键字查找作为缓存的无序关联容器, 若没有找到使用指定的可调用对象和参数初始化内容。 更多...