memgraph/include/storage/model/properties/double.hpp

15 lines
301 B
C++
Raw Normal View History

2016-02-21 00:53:09 +08:00
#pragma once
#include "storage/model/properties/floating.hpp"
2016-02-21 00:53:09 +08:00
struct Double : public Floating<Double>
{
static constexpr Flags type = Flags::Double;
Double(double value) : Floating(Flags::Double), value(value) {}
double const &value_ref() const { return value; }
2016-02-21 00:53:09 +08:00
double value;
};