Searched defs:OpAdd (Results 1 – 1 of 1) sorted by relevance
114 template<typename T1, typename T2=T1, typename T3=T1> struct OpAdd struct116 typedef T1 type1;117 typedef T2 type2;118 typedef T3 rtype;119 T3 operator ()(const T1 a, const T2 b) const { return saturate_cast<T3>(a + b); } in operator ()()