Restrict Class Properties?
Serg Kovrov
kovrov at no.spam
Wed Feb 21 12:24:53 PST 2007
Jarrett Billingsley wrote:
> True properties would be understood by the compiler as a distinct construct,
> rather than a hackish rewrite of assignment into a call. This would allow,
> among other things, for templated properties; properties as the destination
> of op=, ++, and --; and the abolishment of the '&' when getting the address
> of a function or delegate. As well as preventing such foolishness as
> "writefln = 6;".
Yes, exactly.
--
serg.
More information about the Digitalmars-d
mailing list