| 970 | |
| 971 | template <typename T, typename U> |
| 972 | inline const typename vc_rebind_promote<T,U,2>::type operator- ( |
| 973 | const vector<T,2>& lhs, |
| 974 | const vector<U,2>& rhs |
| 975 | ) |
| 976 | { |
| 977 | typedef typename vc_rebind_promote<T,U,2>::type ret_type; |
| 978 | return ret_type(lhs.x()-rhs.x(), lhs.y()-rhs.y()); |
| 979 | } |
| 980 | |
| 981 | // ---------------------------------------------------------------------------------------- |
| 982 |