www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1521] New: Umbiguous documentation


           Summary: Umbiguous documentation
           Product: D
           Version: unspecified
          Platform: All
               URL: http://www.digitalmars.com/d/memory.html#stackclass
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P4
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: d friedelprivat.de

The documentation currently reads as follows:

Class instances are normally allocated on the garbage collected heap. However,
if they:

    * are allocated as local symbols in a function
    * are allocated using new
    * use new with no arguments
    * have the scope storage class

It's umbiguous if all items of the list are required as condition, or only one
of them.
The chapter should be rephrased to make clear that all conditions have to me
true before the object is put on stack ("and" nor "or").

Sep 19 2007