Properties

Jonathan M Davis jmdavisProg at gmx.com
Tue Jan 3 15:39:21 PST 2012


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


More information about the Digitalmars-d mailing list