Problem with type-casting to interface arrays

Johan Granberg lijat.meREM at OVE.gmail.com
Mon Mar 19 05:35:26 PDT 2007


Derek Parnell wrote:
> where the literal '8' is used to find the offset of the real vtable of the
> interface.

Shouldn't that be sizeof(void*)*2 or something similar instead of 8 as
pointers isn't the same size on all architectures?



More information about the Digitalmars-d mailing list