Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] What is a POD? TC1 or first C++ Standard


  • To: cxx-abi-dev@xxxxxxxxxxxxxxxx
  • Subject: Re: [cxx-abi-dev] What is a POD? TC1 or first C++ Standard
  • From: Dennis Handly <dhandly@xxxxxxxxxx>
  • Date: Mon, 27 Sep 2004 16:40:15 -0700 (PDT)

>From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
>It seems to me that a POD with a pointer-to-member data member should 
>not be a "POD for purpose of layout" because the layout of a "POD for 
>the purpose of layout" is supposed to be whatever the C ABI would 
>require -- and the C ABI does not specify the layout of a type 
>containing a pointer-to-member.

I don't see that in:
   http://www.codesourcery.com/cxx-abi/abi.html#POD

I read it as a "POD for the purpose of layout" is a POD except with
bit fields wider than the type.  Nothing about being C.