<p>Am 13.10.2015 21:42 schrieb "MohsenTi" <<a href="mailto:mohsen.timar@gmail.com">mohsen.timar@gmail.com</a>>:<br>
><br>
> I want to add two overloadable operators “>>” and “<<” to use them as “shr” and “shl” ,or writing into and reading from streams and the other functions like those mentioned above.</p>
<p>Oh dear. You picked yourself the most complicated case in the whole compiler. ">>" and "<<" are automatically converted by the scanner to "shr" and "shl", because someone in the past thought this would ease porting of C-code... And nowadays I have to deal with the consequences related generics.<br>
My tipp: don't use these operators. Period.</p>
<p>Regards,<br>
Sven</p>