From 2f7a6194a6a2a3537c726ac0f5a0c85986a94cfc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 17 Jul 2022 12:46:14 +0200 Subject: [PATCH] hprint:: print template for sets --- hprint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hprint.cpp b/hprint.cpp index 7789a3a1..3cc5185d 100644 --- a/hprint.cpp +++ b/hprint.cpp @@ -230,6 +230,7 @@ template void print(hstream& hs, const array& a) { prin template void print(hstream& hs, const vector& a) { print(hs, "("); comma_printer c(hs); for(const T& t: a) c(t); print(hs, ")"); } template void print(hstream& hs, const map& a) { print(hs, "("); comma_printer c(hs); for(auto& t: a) c(t); print(hs, ")"); } +template void print(hstream& hs, const set& a) { print(hs, "("); comma_printer c(hs); for(auto& t: a) c(t); print(hs, ")"); } template string separated(string separator, const vector& a) { shstream ss;