X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/f0dcb6b97d6d40f67698d1f71ac26970f1776f82..ebd5aef6dc92accb509b1cc67eaf72159f35cdfa:/threaded_log.h diff --git a/threaded_log.h b/threaded_log.h index 903b0fa..bccd813 100644 --- a/threaded_log.h +++ b/threaded_log.h @@ -10,20 +10,6 @@ extern map instance_name_map; extern int next_instance_num; 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) { - return o << "<" << d.first << "," << d.second << ">"; - } -} - -template -typename enable_if::value && !is_same::value, ostream>::type & -operator<<(ostream & o, const A & a) { - return o << "[" << implode(a, ", ") << "]"; -} - #define LOG_PREFIX { \ auto _thread_ = this_thread::get_id(); \ int _tid_ = thread_name_map[_thread_]; \