Last update January 19, 2007

Doc Comments /
Attribute



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


FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: January 19, 2007 22:12 (diff))