memgraph/data_structures/slrbtree.hpp

19 lines
263 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 "utils/sync/spinlock.hpp"
template <class K, class T>
class SlRbTree
{
public:
private:
SpinLock lock;
std::map<K, T> tree;
};
#endif