Movatterモバイル変換


[0]ホーム

URL:


This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-12-20


2499. Inconsistency in definition of pointer-interconvertibility

Section:6.9.4  [basic.compound]    Status:CD6    Submitter:Jason Merrill    Date:2021-07-29

[Accepted at the February, 2022 meeting.]

The changes forissue 2254included the following:

Change 6.9.4 [basic.compound] bullet 4.3 as follows:

Two objectsa andbarepointer-interconvertible if:

This should also have removed the phrase,

or, if the object has no non-static data members,

since the change to 11.4 [class.mem] paragraph 25specifies that all bases of a standard-layoutclass have the same address, regardless of whether thederived class has non-static data members.

Proposed resolution (November, 2021):

Change 6.9.4 [basic.compound] bullet 4.3 as follows:

Two objectsa andbarepointer-interconvertible if:




[8]ページ先頭

©2009-2026 Movatter.jp