mirror of
https://github.com/Z3Prover/z3
synced 2025-06-26 07:43:41 +00:00
Allow printing other types than unsigned
This commit is contained in:
parent
d7797a53df
commit
d105c1c825
1 changed files with 2 additions and 1 deletions
|
@ -753,7 +753,8 @@ using bool_vector = svector<bool>;
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
inline std::ostream& operator<<(std::ostream& out, svector<T> const& v) {
|
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;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue