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

Function operator+

dlib/geometry/vector.h:922–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920
921 template <typename T, typename U>
922 inline const typename vc_rebind_promote<T,U,2>::type operator+ (
923 const vector<T,2>& lhs,
924 const vector<U,2>& rhs
925 )
926 {
927 typedef typename vc_rebind_promote<T,U,2>::type ret_type;
928 return ret_type(lhs.x()+rhs.x(), lhs.y()+rhs.y());
929 }
930
931// ----------------------------------------------------------------------------------------
932

Callers

nothing calls this directly

Calls 1

zMethod · 0.80

Tested by

no test coverage detected