MCPcopy Create free account
hub / github.com/davisking/dlib / operator-

Function operator-

dlib/geometry/vector.h:972–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

zMethod · 0.80

Tested by

no test coverage detected