diff options
-rw-r--r-- | lib/stream_support.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/stream_support.hpp b/lib/stream_support.hpp index 2ab2f9d..5f45cbf 100644 --- a/lib/stream_support.hpp +++ b/lib/stream_support.hpp @@ -47,6 +47,13 @@ namespace std { return (s << std::span {v}); } + template<typename First, typename Second> + std::ostream & + operator<<(std::ostream & s, const std::pair<First, Second> & v) + { + return (s << '(' << v.first << ", " << v.second << ')'); + } + inline std::ostream & operator<<(std::ostream & s, const Arc & arc) { |