11 #ifndef TLX_LOGGER_UNORDERED_SET_HEADER 12 #define TLX_LOGGER_UNORDERED_SET_HEADER 16 #include <unordered_set> 20 template <
typename T,
typename H,
typename E,
typename A>
24 static void print(std::ostream& os,
25 const std::unordered_set<T, H, E, A>& data) {
27 for (
typename std::unordered_set<T, H, E, A>::const_iterator
28 it = data.begin(); it != data.end(); ++it)
30 if (it != data.begin()) os <<
',';
37 template <
typename T,
typename H,
typename E,
typename A>
41 static void print(std::ostream& os,
42 const std::unordered_multiset<T, H, E, A>& data) {
44 for (
typename std::unordered_multiset<T, H, E, A>::const_iterator
45 it = data.begin(); it != data.end(); ++it)
47 if (it != data.begin()) os <<
',';
56 #endif // !TLX_LOGGER_UNORDERED_SET_HEADER