clone method of Object
    grauzone 
    none at example.net
       
    Wed Apr 15 08:51:23 PDT 2009
    
    
  
> There are two things on my side:
> 1. Compiler refuses to clone private attributes. I have tried
> gdc/gdmd/dmd_v1 in Linux.
It was changed in dmd later, and now you can access private attributes 
by using tupleof. I don't know when exactly it was changed, but it 
should work at least with dmd 1.039 and later. GDC probably uses an 
ancient front-end version, and I think nobody should use it.
    
    
More information about the Digitalmars-d-learn
mailing list