diff --git a/test/test.hpp b/test/test.hpp index b42d00d6..7c94ec54 100644 --- a/test/test.hpp +++ b/test/test.hpp @@ -55,7 +55,19 @@ namespace std { std::ostream& operator<<(std::ostream& stream, const system::data_slice& slice) NOEXCEPT; -// vector -> join(< -> join(< +std::ostream& operator<<(std::ostream& stream, + const std::vector& values) NOEXCEPT +{ + // Ok when testing serialize because only used for error message out. + BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT) + stream << system::serialize(values); + BC_POP_WARNING() + return stream; +} + +// std_vector -> join(< std::ostream& operator<<(std::ostream& stream, const std_vector& values) NOEXCEPT