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

Allow printing other types than unsigned

This commit is contained in:
Jakob Rath 2023-02-06 16:27:38 +01:00
parent d7797a53df
commit d105c1c825

View file

@ -753,7 +753,8 @@ using bool_vector = svector<bool>;
template<typename T>
inline std::ostream& operator<<(std::ostream& out, svector<T> const& v) {
for (unsigned u : v) out << u << " ";
for (auto const& x : v)
out << x << " ";
return out;
}