3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-10-04 17:37:12 -07:00
commit be4bc6caed
26 changed files with 309 additions and 111 deletions

View file

@ -721,15 +721,13 @@ public:
ptr_vector(unsigned s, T * elem):vector<T *, false>(s, elem) {}
ptr_vector(unsigned s, T * const * data):vector<T *, false>(s, const_cast<T**>(data)) {}
std::ostream& display(std::ostream& out, char const* delim = " ") const {
bool first = true;
char const* d = "";
for (auto const* u : *this) {
if (!first)
out << delim;
first = false;
if (u)
out << *u;
out << d << *u;
else
out << "<NULL>";
out << d << "<NULL>";
d = delim;
}
return out;
}