[Issue 979] offsetof for classes does not work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 19 13:52:28 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=979





------- Comment #3 from benoit at tionex.de  2007-02-19 15:52 -------
But note, this works:
class Foo{
  int x;
  static void foo(){
    int o = x.offsetof; // works
  }
}


-- 



More information about the Digitalmars-d-bugs mailing list