Doc Comments /
Attribute
Difference (last edit) (Author, normal page display)
Changed: 3c3,4
== More Information = |
== Messages = Add your comments here... |
Changed: 5c6
Want to see more documentation on this topic? |
=== Protection Attributes === |
Changed: 7c8
See Qualifiers in D by Derek Parnell to learn more about Protection Attributes and Storage Attributes in the D Programming Language (hat-tip: Posting:digitalmars.D.bugs/7768). |
The text on protection attributes on DigitalMars:d/attribute.html is misleading/incomplete. See NG:digitalmars.D/10906. |
Changed: 9,14c10
== Examples = == Message = Put your comments about the official/non-official page here. The text on protection attributes on DigitalMars:d/attribute.html is misleading/incomplete. See Posting:digitalmars.D/10906. |
=== final === |
Added: 17a14,15
=== const === |
Deleted: 21,22d18
== Amendments = You may add a link to this page on the DocumentationAmendments page to draw extra attention to your suggestion. |
Changed: 26c22
*See the corresponding page in the D Specification: DigitalMars:d/attribute.html |
* Corresponding page in the D Specification |
Changed: 28,29c24,26
** Posting:digitalmars.D/25186 ** Posting:digitalmars.D/25185 |
** NG:digitalmars.D/25186 ** NG:digitalmars.D/25185 * Qualifiers in D: learn more about Protection Attributes and Storage Attributes in the D Programming Language ( NG:digitalmars.D.bugs/7768) |
Attributes
Messages
Add your comments here...
Protection Attributes
The text on protection attributes on DigitalMars:d/attribute.html is misleading/incomplete. See NG:digitalmars.D/10906.
final
The only mention of 'final' is for member functions. I think this section should have a description of what final does in general and have a link to the member function usage for that specific case. [BenHinkle]
const
The const attribute should say a bit more about what can be evaluated at compile time and what can't. For example passing a constant to a function like std.math.sin(2.0) is not allowed even though as a human looking at it one could evaluate it at compile time. [BenHinkle]
Links
- Corresponding page in the D Specification
- What does the final keyword do?
- Qualifiers in D: learn more about Protection Attributes and Storage Attributes in the D Programming Language ( NG:digitalmars.D.bugs/7768)