mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
add iterator accessors to obj_pair_set
This commit is contained in:
parent
1177be6391
commit
ede6d7bb2b
|
@ -46,6 +46,11 @@ public:
|
||||||
bool contains(obj_pair const & p) const { return m_set.contains(p); }
|
bool contains(obj_pair const & p) const { return m_set.contains(p); }
|
||||||
void reset() { m_set.reset(); }
|
void reset() { m_set.reset(); }
|
||||||
bool empty() const { return m_set.empty(); }
|
bool empty() const { return m_set.empty(); }
|
||||||
|
|
||||||
|
typedef typename chashtable<obj_pair, hash_proc, eq_proc>::iterator iterator;
|
||||||
|
|
||||||
|
iterator begin() { return m_set.begin(); }
|
||||||
|
iterator end() { return m_set.end(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue