memgraph/include/data_structures/slrbtree.hpp

15 lines
182 B
C++
Raw Normal View History

#pragma once
2015-06-23 03:30:48 +08:00
#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;
};