This also works fine:
void test3()
{
TestStruct dummy;
writeln(dummy.x.offsetof);
}- Bug with offsetof? Geancarlo
- Re: Bug with offsetof? Geancarlo
- Re: Bug with offsetof? jerro
- Re: Bug with offsetof? Jacob Carlborg
- Re: Bug with offsetof? Ali Çehreli
- Re: Bug with offsetof? Geancarlo
- Re: Bug with offsetof? Jacob Carlborg
- Re: Bug with offsetof? Dan
