<div dir="ltr">2016-03-01 1:48 GMT-03:00  <span dir="ltr"><<a href="mailto:wkitty42@windstream.net" target="_blank">wkitty42@windstream.net</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/29/2016 10:08 PM, Mazola Winstrol wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There is a problem in my design. The code won't compile if i try to<br>
specialize with a type which doesn'y supports arithmetic operators e.g String<br>
types.<br>
</blockquote>
<br></span>
apparently i'm missing something... why should arithmetic operators be recognized for strings? that doesn't make sense? arithmetic operators are for numerics not strings...<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div>The operator shouldn't be recognized for strings. The problem is that we are using a generic record for defining a nullable type. So, we can't make a subclass to define operators applicable only for numeric types.<br></div></div></div></div>