3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-04-01 18:07:13 -07:00
parent cec0cdce33
commit 31baab49c8
3 changed files with 50 additions and 12 deletions

View file

@ -39,6 +39,7 @@ public:
dealloc(m_vector[idx]);
m_vector[idx] = ptr;
}
void swap(unsigned i, unsigned j) { std::swap(m_vector[i], m_vector[j]); }
unsigned size() const { return m_vector.size(); }
bool empty() const { return m_vector.empty(); }
void resize(unsigned sz) {