digitalmars.D.bugs - problem with .offsetof
- Frank Benoit (18/18) Dec 13 2005 This should compile, but doesn't:
This should compile, but doesn't: Bug.d(11): this for v needs to be type S not type Bug.C Bug.d(11): class Bug.C member v is not accessible struct S { uint v; } class C { void f() { uint t = S.v.offsetof; } } void main( char[][] a ) { } Frank
Dec 13 2005