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


148. POD classes and pointers to members

Section:Clause 11  [class]    Status:TC1    Submitter:Nathan Sidwell    Date:31 Jul 1999

6.9 [basic.types] paragraph 10defines pointer to member types to be scalar types. Italso defines scalar types to be one of the POD types.

Clause 11 [class] paragraph 4defines a POD struct as an aggregate class with no non-static datamembers of type pointer to member.

It seems contradictory that a type can be POD,yet a class containing that typeis non-POD.

Suggested resolution:Alter Clause 11 [class] paragraph 4to allow pointer to member objects as non-static data members of PODclass.

Proposed resolution (10/00):

In Clause 11 [class] paragraph 4, remove all occurrences of"pointer to member."




[8]ページ先頭

©2009-2026 Movatter.jp