mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 13:10:50 +00:00
taking a look at mbp_qel for arrays
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
dda60737dc
commit
a143ed3bff
4 changed files with 53 additions and 27 deletions
|
@ -690,8 +690,21 @@ public:
|
|||
|
||||
sort* get_sort() const;
|
||||
|
||||
unsigned get_small_id() const { return get_id(); }
|
||||
|
||||
unsigned get_small_id() const { return get_id(); }
|
||||
};
|
||||
|
||||
class expr_container {
|
||||
expr* const* m_pos;
|
||||
expr* const* m_end;
|
||||
public:
|
||||
expr_container(expr* const* pos, expr* const* end) :m_pos(pos), m_end(end) {}
|
||||
expr_container& operator++() { ++m_pos; return *this; }
|
||||
expr_container operator++(int) { expr_container tmp = *this; ++(*this); return tmp; }
|
||||
bool operator==(expr_container const& it) const { return m_pos == it.m_pos; }
|
||||
bool operator!=(expr_container const& it) const { return m_pos != it.m_pos; }
|
||||
expr* operator*() const { return *m_pos; }
|
||||
expr* const* begin() const { return m_pos; }
|
||||
expr* const* end() const { return m_end; }
|
||||
};
|
||||
|
||||
// -----------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue