d806d635f9
Fixed test for index.
15 lines
320 B
C++
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 = {};
|