Skip to content

Commit

Permalink
Merge pull request #660 from evoskuil/master
Browse files Browse the repository at this point in the history
Adapt to pmr vectors changes.
  • Loading branch information
evoskuil authored Jul 7, 2024
2 parents 99d4d26 + 939b270 commit 2c2f44a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test/test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,19 @@ namespace std {
std::ostream& operator<<(std::ostream& stream,
const system::data_slice& slice) NOEXCEPT;

// vector<Type> -> join(<<Type)
// std::vector<Type> -> join(<<Type)
template <typename Type>
std::ostream& operator<<(std::ostream& stream,
const std::vector<Type>& 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<Type> -> join(<<Type)
template <typename Type>
std::ostream& operator<<(std::ostream& stream,
const std_vector<Type>& values) NOEXCEPT
Expand Down

0 comments on commit 2c2f44a

Please sign in to comment.