<div dir="ltr"><div><div><div><div>I have noticed that, by using generics, we can't overload arithmetic operators.<br><br></div>E.g.:<br><br>...<br>class operator Negative(A: TNullableType<T>): T;<br></div>...<br><br>class operator TNullableType<T>.Negative(A: TNullableType<T>): T;<br></div>begin<br></div><div>    Result := -1 * A;<br></div>end;<br><div><div>....<br><div><br></div><div>wouldn't compile with the error "Operator not applicable to this operand type".<br><br></div><div>Is there any workaround to overcome this?<br></div><div><br><br></div></div></div></div>