@property - take it behind the woodshed and shoot it?

Jacob Carlborg doob at me.com
Sat Jan 26 09:13:40 PST 2013


On 2013-01-26 17:29, Andrei Alexandrescu wrote:

> This is interesting. I wonder how to make it work for UFCS functions
> (which _do_ have one argument).

There's two problems with the getter syntax.

1. How to distinguish a template property from a regular function

2. How to distinguish a property without an implementation from a 
variable declaration

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list