D arithmetic problem

Rainer Deyke rainerd at eldwood.com
Tue Jun 2 21:04:44 PDT 2009


davidl wrote:
> Perhaps, it's because of my mistranslating all Byte to byte directly.
> Nonetheless, the first behavior is not impressive. I innately dislike
> that. Because I try to deal with a type with one byte by using Or
> operator, I get it promoted to int. That implicitly cast sounds awful.

Bitwise operations rarely make sense for signed types.  Would it make
sense to disallow them entirely?


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list