X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/4e881433f37417ccbda89c09ffdf936855d462d4..f0dcb6b97d6d40f67698d1f71ac26970f1776f82:/threaded_log.h diff --git a/threaded_log.h b/threaded_log.h index 6630a86..903b0fa 100644 --- a/threaded_log.h +++ b/threaded_log.h @@ -13,14 +13,14 @@ extern char log_thread_prefix; namespace std { // Sticking this in std:: makes it possible for ostream_iterator to use it. template - ostream & operator<<(ostream &o, const pair &d) { + ostream & operator<<(ostream & o, const pair & d) { return o << "<" << d.first << "," << d.second << ">"; } } template typename enable_if::value && !is_same::value, ostream>::type & -operator<<(ostream &o, const A &a) { +operator<<(ostream & o, const A & a) { return o << "[" << implode(a, ", ") << "]"; }