diff options
Diffstat (limited to 'QA/Checker/IO.cpp')
-rw-r--r-- | QA/Checker/IO.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/QA/Checker/IO.cpp b/QA/Checker/IO.cpp index 659e16e..d9eadd6 100644 --- a/QA/Checker/IO.cpp +++ b/QA/Checker/IO.cpp @@ -40,3 +40,18 @@ std::ostream& operator<<(std::ostream& os, const Swift::SafeByteArray& s) { return os; } +std::ostream& operator<<(std::ostream& os, const std::vector<int>& s) { + for (std::vector<int>::const_iterator i = s.begin(); i != s.end(); ++i) { + os << *i << " "; + } + os << std::endl; + return os; +} + +std::ostream& operator<<(std::ostream& os, const std::vector<size_t>& s) { + for (std::vector<size_t>::const_iterator i = s.begin(); i != s.end(); ++i) { + os << *i << " "; + } + os << std::endl; + return os; +} |