@@ -44,6 +44,12 @@ std::string tostr(const std::list<T>& t);
44
44
template <typename T, typename U>
45
45
std::string tostr (const std::map<T, U>& t);
46
46
47
+ template <typename T>
48
+ std::string tostr (const std::multiset<T>& t);
49
+
50
+ template <typename T, typename U>
51
+ std::string tostr (const std::multimap<T, U>& t);
52
+
47
53
template <typename T>
48
54
std::string tostr (const std::set<T>& t);
49
55
@@ -147,6 +153,16 @@ std::string tostr(const std::map<T, U>& t) {
147
153
return __item_pair_container_to_str (t.begin (), t.end (), " {" , " }" , " , " );
148
154
}
149
155
156
+ template <typename T>
157
+ std::string tostr (const std::multiset<T>& t) {
158
+ return __item_single_container_to_str (t.begin (), t.end (), " {" , " }" , " , " );
159
+ }
160
+
161
+ template <typename T, typename U>
162
+ std::string tostr (const std::multimap<T, U>& t) {
163
+ return __item_pair_container_to_str (t.begin (), t.end (), " {" , " }" , " , " );
164
+ };
165
+
150
166
template <typename T>
151
167
std::string tostr (const std::set<T>& t) {
152
168
return __item_single_container_to_str (t.begin (), t.end (), " {" , " }" , " , " );
0 commit comments