memgraph/data_structures/slrbtree.hpp

18 lines
269 B
C++
Raw Normal View History

2015-06-23 03:30:48 +08:00
#ifndef MEMGRAPH_DATA_STRUCTURES_SLRBTREE_HPP
#define MEMGRAPH_DATA_STRUCTURES_SLRBTREE_HPP
#include <map>
#include "threading/sync/spinlock.hpp"
2015-06-23 03:30:48 +08:00
template <class K, class T>
class SlRbTree : Lockable<SpinLock>
2015-06-23 03:30:48 +08:00
{
public:
private:
std::map<K, T> tree;
};
#endif