3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-20 12:53:38 +00:00

Implement add, sub, mul, div, inv, neg

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-01-05 16:32:35 -08:00
parent 322d355290
commit 3ffda25350
4 changed files with 547 additions and 117 deletions

View file

@ -78,11 +78,7 @@ public:
return m_buffer.c_ptr();
}
T const * operator[](unsigned idx) const {
return m_buffer[idx];
}
T * operator[](unsigned idx) {
T * operator[](unsigned idx) const {
return m_buffer[idx];
}
@ -144,6 +140,7 @@ public:
return *this;
reset();
append(other);
return *this;
}
};