memgraph/include/utils/void.hpp
2016-09-08 13:25:52 +01:00

14 lines
286 B
C++

#pragma once
#include "utils/total_ordering.hpp"
class Void : public TotalOrdering<Void>
{
public:
friend bool operator<(const Void &lhs, const Void &rhs) { return false; }
friend bool operator==(const Void &lhs, const Void &rhs) { return true; }
};
static Void _void = {};