Re: Automatically obtaining the address of another member of the same object
Quote:
Originally Posted by
monarch_dodra
I don't know what the standard says, but it would seem odd to me iff every object of a class did not have the same memory layout. How would you reference the attributes of that object?
Some kind of lookup.
Like I said, I don't think there are any major compilers that use that, but that's no guarantee.