On Tue, 26 Jun 2007, Andrew Pinski wrote:

> On 6/26/07, Herman Geza <[EMAIL PROTECTED]> wrote:
> > Having the same layout makes them "the same".
> Not in C or C++ and in most cases of fortran too (unless you add an
> attribute).
Yes, it's clear now, thanks.  However, it brings a new question: the 
standard defines layout-compatible types. For example, if I'm correct, my 
Vector 
and Point are layout compatible.  What can I do with layout compatible 
objects?  I found the definiton of layout compatible types, but found no 
uses of them.  Why is it "important" that Point and Vector are 
layout-compatible? (is this question offtopic here?).

Geza

Reply via email to