+template<class T>
+inline bool operator ==(const Vector<T> &lhs, const Vector<T> &rhs) {
+ return lhs.X() == rhs.X() && lhs.Y() == rhs.Y();
+}
+
+template<class T>
+inline bool operator !=(const Vector<T> &lhs, const Vector<T> &rhs) {
+ return lhs.X() != rhs.X() || lhs.Y() != rhs.Y();
+}
+