www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 126] New: spec for Add expression (pointer to bit)

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=126

           Summary: spec for Add expression (pointer to bit)
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: benoit tionex.de


in http://www.digitalmars.com/d/expression.html
-> Add Expressions
 If it is a pointer to a bit, the second operand is divided by 8 and added to
the pointer. It is illegal if the second operand modulo 8 is non-zero.

1.) bit->bool
2.) Is this still correct?


-- 
May 04 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=126


smjg iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com




------- Comment #1 from smjg iname.com  2006-05-08 09:55 -------
No.  Bit hasn't been renamed to bool.  The bit as a basic type has been
withdrawn.  A bool has a memory size of one byte.

The paragraph should just be deleted.


-- 
May 08 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=126


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla digitalmars.com  2006-05-25 04:22 -------
Fixed 0.158


-- 
May 25 2006