put the overloaded operator<<() into namespace std, so clang's name
resolution is able to find it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
typedef std::multimap < int, std::string > multimap_t;
typedef multimap_t::value_type my_val_ty;
+namespace std {
static std::ostream& operator<<(std::ostream& oss, const multimap_t &multimap)
{
for (multimap_t::const_iterator m = multimap.begin();
}
return oss;
}
+}
TEST(EncodingRoundTrip, Multimap) {
multimap_t multimap;