Using memberspaces for a property-like syntax and more
    TommiT 
    tommitissari at hotmail.com
       
    Sat Feb  2 10:37:10 PST 2013
    
    
  
On Saturday, 2 February 2013 at 17:12:33 UTC, Simen Kjaeraas 
wrote:
> This seems to be basically what I outlined in issue 5158[1].
>
>
> [1] http://d.puremagic.com/issues/show_bug.cgi?id=5158
I don't understand your proposal. Are you saying you want the 
following code to compile?
void main()
{
     int a;
     void opAssign(int arg) {a = arg;} = 4;
}
And what would that code do? Also, how would you use your 
proposal to implement memberspaces?
    
    
More information about the Digitalmars-d
mailing list