[Issue 1521] New: Umbiguous documentation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 19 14:42:30 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1521
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 at digitalmars.com
ReportedBy: d at 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").
--
More information about the Digitalmars-d-bugs
mailing list