3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

inherit more exceptions from std::exception

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-11-04 13:52:14 -08:00
parent a38bf3e22f
commit abd16740ce
11 changed files with 12 additions and 12 deletions

View file

@ -147,7 +147,7 @@ namespace smt {
return m_inv;
}
struct is_model_value {};
struct is_model_value : public std::exception {};
void operator()(expr* n) {
if (m.is_model_value(n)) {
throw is_model_value();
@ -540,7 +540,7 @@ namespace smt {
return !contains_array(e);
}
struct found_array {};
struct found_array : public std::exception {};
expr_mark m_visited;
void operator()(expr* n) {
if (m_array.is_array(n))