Covalent Bond  0.0.1-alpha
'covalent bond' is a data middle office. As a 2022-2023 Fall SWE final project.
Classes | Namespaces | Macros | Typedefs
cbLRUCache.hpp File Reference

The impl of LRU cache. More...

#include <map>
#include <list>
#include "../../pch.hpp"
Include dependency graph for cbLRUCache.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cb::listNode
 Elements of list. More...
 
class  cb::cbLRUCache< V >
 We used LRU alogrithm to implement our cache. More...
 

Namespaces

 cb
 _WIN32
 

Macros

#define find_list   for (auto i = m_cacheList.begin(); i != m_cacheList.end(); i++)
 Macro define of loop in cache list. More...
 

Typedefs

typedef listNode cb::node
 

Detailed Description

The impl of LRU cache.

Author
caibo Feng (34185.nosp@m.5292.nosp@m.9@qq..nosp@m.com)
Version
0.1
Date
2022-11-11

Definition in file cbLRUCache.hpp.

Macro Definition Documentation

◆ find_list

#define find_list   for (auto i = m_cacheList.begin(); i != m_cacheList.end(); i++)

Macro define of loop in cache list.

Definition at line 19 of file cbLRUCache.hpp.