[Issue 3850] Signed/unsigned bytes type name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 22 02:03:04 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3850


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #3 from Don <clugdbug at yahoo.com.au> 2012-10-22 02:02:18 PDT ---
This is not a newbie issue. I make this mistake myself, fairly often. *Walter*
made this mistake once, in the header generation tool! My experience is that
90% of uses of "byte", should instead be "ubyte". It is really, really unusual
to be using signed bytes.

I wish we could change this. (I would do it by changing the type to "sbyte" and
then adding "alias byte = sbyte;" to object.d).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list