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:
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>
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue