[Issue 2358] offsetof inconsistent between structs and classes
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Jan 22 14:04:13 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=2358
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|                            |WORKSFORME
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2012-01-22 14:04:11 PST ---
auto s1 = s.x.offsetof; // error
works correctly now. The spec does document the current behavior. I hope to
remove the restriction on the class .offsetof in the future.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list