Re: [cairo] Re: Notes on cairo/win32
- From: MenTaLguY <mental rydia net>
- To: Owen Taylor <otaylor redhat com>
- Cc: cairo cairographics org, gtk-devel-list gnome org
- Subject: Re: [cairo] Re: Notes on cairo/win32
- Date: Fri, 14 Jan 2005 20:49:42 -0000
On Fri, 14 Jan 2005, Owen Taylor wrote:
> I have some belief that a C++ class is required to have the same
> in-memory layout as a C structure with the same members in the same
> order.
That's true to a limited extent; virtual methods, members in different
access levels or virtual inheritance can screw things up[1].
So far as I know none of those would be a problem for Rect though.
-mental
---
[1] http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html#faq-32.9
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]