Skip to content

Commit a7ba766

Browse files
committed
constructor for tuple_exprt with type
This adds a constructor for tuple_exprt that allows setting the type.
1 parent 22a681e commit a7ba766

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/util/mathematical_expr.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ class tuple_exprt : public multi_ary_exprt
185185
: multi_ary_exprt(ID_tuple, std::move(operands), typet())
186186
{
187187
}
188+
189+
tuple_exprt(exprt::operandst operands, typet type)
190+
: multi_ary_exprt(ID_tuple, std::move(operands), std::move(type))
191+
{
192+
}
188193
};
189194

190195
/// \brief Application of (mathematical) function

0 commit comments

Comments
 (0)