#pragma once #include enum ValueType { OB_NIL = 0, OB_BOOLEAN, OB_INTEGER, OB_FLOAT, OB_STRING, }; struct Value { ValueType type; union { bool b; int i; float f; std::string str; }; };