Replies: 1 comment 1 reply
-
Someone added move constructors to expr and it broke the API. because it wasn't playing correctly with reference counts in the ways expressions were used elsewhere. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The context as far as I understand manages objects/configurations etc. In an implementation of mine I am writing a wrapper class that contains context/solver/terms etc. Now this wrapper is has implicitly deleted copy/move constructors because one of its members, namely
context
has explicitly deleted copy/move constructors (line 176 ofz3++.h
).Hence, I was wondering if it makes sense to have multiple contexts in the same application. In my case I consider multiple SMT problems simultaneously so I create a new context/solver for each problem.
And if it makes sense to have multiple contexts, why are copy and move constructors deleted and wouldn't it make sense to at least provide a move-constructor?
Beta Was this translation helpful? Give feedback.
All reactions