mirror of
https://github.com/Z3Prover/z3
synced 2026-07-12 10:06:23 +00:00
Merge branch 'master' into c3
This commit is contained in:
commit
d0c0c1b573
50 changed files with 3555 additions and 1435 deletions
|
|
@ -62,6 +62,10 @@ public:
|
|||
struct key_data {
|
||||
Key * m_key = nullptr;
|
||||
Value m_value;
|
||||
key_data() = default;
|
||||
key_data(Key* k): m_key(k) {}
|
||||
key_data(Key* k, Value const& v): m_key(k), m_value(v) {}
|
||||
key_data(Key* k, Value&& v): m_key(k), m_value(std::move(v)) {}
|
||||
Value const & get_value() const { return m_value; }
|
||||
Key & get_key () const { return *m_key; }
|
||||
unsigned hash() const { return m_key->hash(); }
|
||||
|
|
@ -240,5 +244,3 @@ void erase_dealloc_value(obj_map<Key, Value*> & m, Key * k) {
|
|||
dealloc(v);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue