[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
RE: [cxx-abi-dev] PATCH: Define "POD for the purpose of layout"
- To: "Moore, David" <david.moore@xxxxxxxxx>
- Subject: RE: [cxx-abi-dev] PATCH: Define "POD for the purpose of layout"
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: 22 May 2003 15:43:10 -0700
On Thu, 2003-05-22 at 12:03, Moore, David wrote:
> Yes - I did miss that change. Or perhaps its significance - I had to
> think twice about it to see that it covered the case. All it really
> needs to say is "If C is a POD, set nvsize(C) = sizeof(C)". Then the
> fact that you have the desired post condition is easier to see.
Perhaps the "non-POD for purposes of layout" could be relegated to
parentheses?
> Or, to state it differently,
> you should be able to push a POD through the non-POD layout method and
> get the same layout. If so, I certainly agree with that. I think we are
> ok on that front given 2.4.IV.
Yes, that's what I am saying. The C++ ABI doesn't actually require
that, but that's what users will (reasonably) expect.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@xxxxxxxxxxxxxxxx
|