3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

v0 of edit distance repair

This commit is contained in:
Nikolaj Bjorner 2024-12-05 14:14:27 -08:00
parent 4be4067f75
commit bcb61ee12c
3 changed files with 150 additions and 1 deletions

View file

@ -85,6 +85,11 @@ public:
bool operator!=(const zstring& other) const;
unsigned hash() const;
void reset() { m_buffer.reset(); }
zstring& operator+=(zstring const& other) { m_buffer.append(other.m_buffer); return *this; }
uint32_t const* begin() const { return m_buffer.begin(); }
uint32_t const* end() const { return m_buffer.end(); }
friend std::ostream& operator<<(std::ostream &os, const zstring &str);
friend bool operator<(const zstring& lhs, const zstring& rhs);
};