DIP26: properties defined
    Jonathan M Davis 
    jmdavisProg at gmx.com
       
    Fri Feb  8 22:00:58 PST 2013
    
    
  
On Saturday, February 09, 2013 06:38:00 Marco Leise wrote:
> There is only little think that itches me. In this example a
> is an int. Would the setter always take a copy of a large
> struct? I see no way to make it 'auto ref'!
It would be simple enough to make it so that the compiler used auto ref in the 
lowered version and just make the variable itself int, though the DIP 
obviously doesn't say that.
- Jonathan M Davis
    
    
More information about the Digitalmars-d
mailing list