memgraph/include/utils/void.hpp
Kruno Tomola Fabro d806d635f9 Added documentation.
Fixed test for index.
2016-09-18 23:22:36 +01:00

15 lines
320 B
C++

#pragma once
#include "utils/total_ordering.hpp"
// Type which represents nothing.
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 = {};