Re: [cxx-abi-dev] What is a POD? TC1 or first C++ Standard
[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: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Subject: Re: [cxx-abi-dev] What is a POD? TC1 or first C++ Standard
- From: Gabriel Dos Reis <gdr@xxxxxxxxxxx>
- Date: 23 Sep 2004 23:27:01 -0500
Mark Mitchell <mark@xxxxxxxxxxxxxxxx> writes:
| Dennis Handly wrote:
|
| >We just noticed that the definition of a POD has change in TC1.
| >The Original Standard disallowed pointers to members in PODs.
| >
| Ugh. I knew about that, but I hadn't thought to think about how it
| affects the ABI.
|
| G++ 3.3 and 3.4 use the TC1 POD definition, so from the GNU point of
| view, that's what we'd want. GCC is not going to change back to the
| pre-TC1 defintion, even for return values, in any GCC 4.0, since that
| would break compatibility with 3.4. We probably wouldn't change back
| to the pre-TC1 definition in any release until we had a compelling
| need to break the ABI for something else, even if the ABI were
| clarified to require the TC-1 definition.
And it would appear to users very counter-intuitive and confusing if
pointer-to-members were treated very differently from other PODs.
-- Gaby