mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 10:35:33 +00:00
add move constructor to mpf
This commit is contained in:
parent
d1c13f17b0
commit
468e0207f7
2 changed files with 6 additions and 7 deletions
|
@ -50,7 +50,12 @@ class mpf {
|
|||
public:
|
||||
mpf();
|
||||
mpf(unsigned ebits, unsigned sbits);
|
||||
mpf(mpf const & other);
|
||||
mpf(mpf && other) :
|
||||
ebits(other.ebits),
|
||||
sbits(other.sbits),
|
||||
sign(other.sign),
|
||||
significand(std::move(other.significand)),
|
||||
exponent(other.exponent) {}
|
||||
~mpf();
|
||||
unsigned get_ebits() const { return ebits; }
|
||||
unsigned get_sbits() const { return sbits; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue