summaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-18 13:48:31 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-18 13:48:31 +0800
commit0e61ec5eafddb980eac2d6577b2e20af9aceae02 (patch)
tree95fb1a34f87be3ca9fea1f75bf1a6cf70d878577 /src/types.cpp
parentba61031285402285e88a16f3788c20f455acc8e3 (diff)
downloadmrust-0e61ec5eafddb980eac2d6577b2e20af9aceae02.tar.gz
Up to requiring checks for trait implementations
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 907bffc0..230fae77 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -3,22 +3,6 @@
#include "types.hpp"
#include "ast/ast.hpp"
-template <typename T>
-inline ::std::ostream& operator<<(::std::ostream& os, const ::std::vector<T>& v) {
- if( v.size() > 0 )
- {
- bool is_first = true;
- for( const auto& i : v )
- {
- if(!is_first)
- os << ", ";
- is_first = false;
- os << i;
- }
- }
- return os;
-}
-
::std::ostream& operator<<(::std::ostream& os, const TypeRef& tr) {
os << "TypeRef(";