memgraph/include/storage/model/properties/null.hpp
2016-09-08 13:25:52 +01:00

24 lines
466 B
C++

#pragma once
#include <ostream>
#include <string>
#include "storage/model/properties/flags.hpp"
#include "utils/void.hpp"
class Null
{
public:
const static Type type;
Void &value() { return _void; }
Void const &value() const { return _void; }
std::ostream &print(std::ostream &stream) const;
friend std::ostream &operator<<(std::ostream &stream, const Null &prop);
bool operator==(const Null &) const;
explicit operator bool();
};