Properties

Manu turkeyman at gmail.com
Wed Jan 4 00:20:48 PST 2012


Lovely! Precisely what I hoped to hear :P

On 4 January 2012 01:39, Jonathan M Davis <jmdavisProg at gmx.com> wrote:

> On Wednesday, January 04, 2012 00:34:48 Manu wrote:
> > myArray.popFront ... a property!?
> >
> > no.
>
> And it won't compile that way if you compile with -property. It's just that
> properties used to be implemented much more haphazardly, allowing any
> function
> with no arguments to be called without parens. We've been transitioning
> from
> that to @property, but it's not fully enforced yet. -property enables the
> enforcement.
>
> - Jonathan M Davis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120104/1e9e20f1/attachment.html>


More information about the Digitalmars-d mailing list