{ std::vector< Expr > nvec; expr = MK_EXPR( CVC4::kind::REGEXP_SIGMA, nvec ); }
| EMPTYSET_TOK
- { expr = MK_CONST( ::CVC4::EmptySet()); }
+ { expr = MK_CONST( ::CVC4::EmptySet(Type())); }
// NOTE: Theory constants go here
;
const SetType d_type;
+ EmptySet() { }
public:
- EmptySet() { } /* Null typed */
- EmptySet(SetType t):d_type(t) { }
+ /**
+ * Constructs an emptyset of the specified type. Note that the argument
+ * is the type of the set itself, NOT the type of the elements.
+ */
+ EmptySet(SetType setType):d_type(setType) { }
~EmptySet() throw() {