On Thursday, January 24, 2013 23:15:38 Adam D. Ruppe wrote:
> On Thursday, 24 January 2013 at 22:04:02 UTC, Andrei Alexandrescu
> 
> wrote:
> > Properties are DATA, well except when you need to pass fields
> > by reference etc. at which point the syntactic glue comes
> > unglued.
> 
> An enum or a literal can't be passed by reference or otherwise
> have the address taken either, but we don't argue about if
> they're data or not, and don't change barely related parts of the
> language over them.
[snip]

However, I do think that would be able to mark variables such that they're 
treated as rvalues such that swapping a variable out with a property function 
dosen't break code (at least if 
http://d.puremagic.com/issues/show_bug.cgi?id=8006 gets implemented).

- Jonathan M Davis

Reply via email to