Uranuz:

        ubyte a = 15;
        ubyte b = 10;
        
ubyte c = a + b; //What is happening there?! AAAAARGH! Are you joking?!

In C/C++/D if you sum a types that are smaller than int, you obtain an int. D has copied C for backwards compatibility with C code.

Bye,
bearophile

Reply via email to