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

Johannes Pfau nospam at example.com
Fri Jan 25 12:06:44 PST 2013


Am Fri, 25 Jan 2013 10:39:50 -0800
schrieb "H. S. Teoh" <hsteoh at quickfur.ath.cx>:


> - It's illegal to mark a function that takes 2 or more arguments as
>   @property, because it makes no sense.
> 

3 or more arguments. UFCS properties have 2 arguments:

@property void age(Person p, int value); //OK, bad example, but you
get the idea 




More information about the Digitalmars-d mailing list