equal
deleted
inserted
replaced
65 bool operator!=(const _Vector<T> &v1, const _Vector<T> &v2) { |
65 bool operator!=(const _Vector<T> &v1, const _Vector<T> &v2) { |
66 return !(v1 == v2); |
66 return !(v1 == v2); |
67 } |
67 } |
68 |
68 |
69 template<typename T> |
69 template<typename T> |
70 std::ostream& operator<<(std::ostream &s, _Vector<T> &v) { |
70 std::ostream& operator<<(std::ostream &s, const _Vector<T> &v) { |
71 return s<<"("<<v.x<<", "<<v.y<<")"; |
71 return s<<"("<<v.x<<", "<<v.y<<")"; |
72 } |
72 } |
73 |
73 |
74 typedef _Vector<float> Vector; |
74 typedef _Vector<float> Vector; |
75 |
75 |