Fixing D's Properties

Sean Kelly sean at f4.ca
Fri Aug 17 13:27:50 PDT 2007


Bill Baxter wrote:
> Sean Kelly wrote:
>> Chad J wrote:
>>>
>>> This post is a bit lengthy.  So assuming you've read even part of it, 
>>> thank you for your time.
>>
>> All good points.  I'd like properties in D to address them all 
>> somehow.  The 'ref' keyword in 2.0 solves some of the issues, but not 
>> others. If doing so requires a special syntax then I'm all for it.
> 
> What issues does ref fix?  You can't return a ref even in 2.0, AFAIK.

Oh.  I assume this is a planned feature then?  Otherwise I see little 
reason to change "inout" to "ref."


Sean



More information about the Digitalmars-d mailing list