This commit is contained in:
Andre Wagner
2026-04-29 15:57:39 -05:00
parent feb272e545
commit b471726e0d
2 changed files with 6 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ enum class Type : uint8_t
class Value {
public:
Value() : value_(std::monostate()) {}
static Value CreateNil() { return Value(std::monostate()); }
static Value CreateInteger(int32_t v) { return Value(v); }
static Value CreateFloat(float f) { return Value(f); }