mirror of
https://github.com/Z3Prover/z3
synced 2025-08-07 11:41:22 +00:00
parent
aab50ff3f5
commit
ed58175e1b
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ public:
|
||||||
mpq():m_den(1) {}
|
mpq():m_den(1) {}
|
||||||
mpq(mpq &&) noexcept = default;
|
mpq(mpq &&) noexcept = default;
|
||||||
mpq & operator=(mpq const &) = delete;
|
mpq & operator=(mpq const &) = delete;
|
||||||
|
mpq & operator=(mpq&&) = delete;
|
||||||
void swap(mpq & other) { m_num.swap(other.m_num); m_den.swap(other.m_den); }
|
void swap(mpq & other) { m_num.swap(other.m_num); m_den.swap(other.m_den); }
|
||||||
mpz const & numerator() const { return m_num; }
|
mpz const & numerator() const { return m_num; }
|
||||||
mpz const & denominator() const { return m_den; }
|
mpz const & denominator() const { return m_den; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue