mirror of
https://github.com/Z3Prover/z3
synced 2025-07-01 02:18:46 +00:00
update badge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c939195c10
commit
f381d51c83
5 changed files with 296 additions and 282 deletions
|
@ -205,6 +205,14 @@ zstring& zstring::operator=(zstring const& other) {
|
|||
return *this;
|
||||
}
|
||||
|
||||
zstring zstring::reverse() const {
|
||||
zstring result;
|
||||
for (unsigned i = length(); i-- > 0; ) {
|
||||
result.m_buffer.push_back(m_buffer[i]);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
zstring zstring::replace(zstring const& src, zstring const& dst) const {
|
||||
zstring result;
|
||||
if (length() < src.length()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue