1521 – Ambiguous documentation

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1521 - Ambiguous documentation
Summary: Ambiguous documentation
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P4 trivial
Assignee: No Owner
URL: http://www.digitalmars.com/d/memory.h...
Keywords: spec
Depends on:
Blocks:
Reported: 2007年09月19日 16:42 UTC by Klaus Friedel
Modified: 2015年06月09日 05:14 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Klaus Friedel 2007年09月19日 16:42:29 UTC
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").


AltStyle によって変換されたページ (->オリジナル) /