diff options
Diffstat (limited to 'third_party/nix/src/libexpr/value.hh')
-rw-r--r-- | third_party/nix/src/libexpr/value.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/nix/src/libexpr/value.hh b/third_party/nix/src/libexpr/value.hh index 6bb694d1830b..85ce9e7a1ba0 100644 --- a/third_party/nix/src/libexpr/value.hh +++ b/third_party/nix/src/libexpr/value.hh @@ -105,6 +105,13 @@ struct Value { NixFloat fpoint; }; + Value() : type(tInt), integer(0) {} + Value(const Value& copy); + Value(Value&& move); + ~Value() {} + Value& operator=(const Value& copy); + Value& operator=(Value&& move); + bool isList() const { return type == tList; } size_t listSize() const { return list->size(); } |