Closed alphaville closed 5 years ago
We cannot return an instance of CartesianProduct
from a function in Rust because the structure contains references to other structures (instances of Constraint
), which do not live long enough (at least, when instantiated inside the same function). The solution is for CartesianProduct
to own its constituent sets.
Support code generation with Cartesian products of sets
U
C
(see PR #136; awaiting review)