2016-02-21 00:53:09 +08:00
|
|
|
#pragma once
|
|
|
|
|
2016-08-10 16:39:02 +08:00
|
|
|
#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) {}
|
|
|
|
|
2016-08-15 20:21:38 +08:00
|
|
|
double const &value_ref() const { return value; }
|
|
|
|
|
2016-02-21 00:53:09 +08:00
|
|
|
double value;
|
|
|
|
};
|