read-only access

Jesse Phillips jessekphillips+D at
Tue Nov 2 13:52:38 PDT 2010

Steven Schveighoffer Wrote:

> On Tue, 02 Nov 2010 15:54:13 -0400, Jesse Phillips  
> <jessekphillips+D at> wrote:
> > Calling functions without () is a legacy feature left over which is how  
> > D use to do properties. Some will say this is going to be removed, but  
> > do not recall this ever being said (only that it was implied it would  
> > happen if properties were used).
> TDPL states it will be required.
> -Steve

I do not believe it does. I don't recall seeing it, nor do I think it makes any sense to even mention it considering it shouldn't mention bugs in the implementation. That said, I don't recall it mentioning functions being callable without parens.

More information about the Digitalmars-d-learn mailing list