3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-30 07:43:38 +00:00

remove a few copies

This commit is contained in:
Nuno Lopes 2026-02-10 09:52:03 +00:00
parent 617c621cc0
commit 915ad35012
8 changed files with 42 additions and 24 deletions

View file

@ -43,6 +43,11 @@ public:
checked_int64() = default;
checked_int64(int64_t v): m_value(v) {}
checked_int64(checked_int64 const& other) = default;
checked_int64(checked_int64&&) = default;
checked_int64& operator=(checked_int64 const& other) = default;
checked_int64& operator=(checked_int64&&) = default;
bool is_zero() const { return m_value == 0; }
bool is_pos() const { return m_value > 0; }